Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Character Set Support

즈눅 edited this pageMar 13, 2022 ·6 revisions

Supported Character Sets

We should decide which character sets to support for each/all plugins. Other character sets could be specified outside of this set and they would be ignored if not understood by the editor. This is simply a list of character sets that all plugins should attempt to support at a minimum.

If an implementation wishes to define a new character set, it is recommended that it consults outside authorities such as theWHATWG Encoding Standard and theIANA Character Set registry. Using a special prefix such asx- is neither required nor recommended, as unsupported values are simply ignored.

Setting character sets in text editors

Vim

Vim character encodings can be set with thefilencoding command (see documentation).

Setting UTF-8

setfileencoding=utf-8

Setting Latin1

setfileencoding=latin1

Emacs

As notedhere, Emacs character encodings and end-of-line formats are both set using theset-buffer-file-coding-system command.

Setting UTF-8

(set-buffer-file-coding-system'utf-8-unix)(set-buffer-file-coding-system'utf-8-dos)(set-buffer-file-coding-system'utf-8-mac)

Setting Latin1

(set-buffer-file-coding-system'iso-latin-1-unix)(set-buffer-file-coding-system'iso-latin-1-dos)(set-buffer-file-coding-system'iso-latin-1-mac)

The wiki is disabled from public edits due to spams. If you would like to request a change in wiki, please open anew discussion.

Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp