User Tools

Site Tools


linux:tools:vi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki