linux:tools:vi
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:tools:vi [2026/10/08 10:49] – ms | linux:tools:vi [2026/10/08 10:55] (current) – [Convert] ms | ||
|---|---|---|---|
| Line 52: | Line 52: | ||
| ===== Convert ===== | ===== Convert ===== | ||
| - | Check Filetype: | + | Check Filetype: |
| < | < | ||
| :set fileencoding? | :set fileencoding? | ||
| </ | </ | ||
| ISO-8859 -> fileencoding=latin1 | ISO-8859 -> fileencoding=latin1 | ||
| + | |||
| + | Filetype auf UTF-8 setzen | ||
| + | < | ||
| + | :set fileencoding=utf-8 | ||
| + | :w | ||
| + | |||
| + | :set fileencoding=utf-8 | w | ||
| + | </ | ||
| + | |||
| + | Entfernung von BOM (Byte Order Mark) und CRLF (von Windows) | ||
| + | < | ||
| + | :set nobomb | ||
| + | :set fileformat=unix | ||
| + | :w | ||
| + | </ | ||
linux/tools/vi.1791456555.txt.gz · Last modified: 2026/10/08 10:49 by ms