Home

News

International

Screen Shots

Documentation

Download

Build

License

Credits

Contact

SourceForge Project

Tintware Documentation : Tint Emacs : International

International Support

Tint Emacs partially supports unicode (UTF16 to be exact) internally. The user interface is still entirely English. Various character encodings can be used for buffers (and files). Some encodings are live: Tint Emacs can convert on the fly between the encoding and UTF16. These are called live encodings. All encodings (including live ones) can be used to convert to and from UTF16. Encodings which are not live are called conversion encodings. At this point, the only conversion encoding is UTF8.

When a file using a live encoding is read into a buffer, no conversion occurs. The bits on disk are exactly the same as the bits in memory. The only exception to this is that for UTF16 the byte order mark is missing in memory.

M-x list-encodings will list available encodings.

M-x set-default-encoding will set the default encoding for all new buffers; it will not change the encoding of any existing buffers.

M-x convert-to-encoding is used to convert a buffer to another encoding.

C-x Enter c (which is bound to universal-encoding-argument) is used to specify an encoding to be used for the next command. Commands which read or write files use this argument. All other commands ignore it.

M-x set-encoding can be used to set the encoding for a buffer. This only works if the current encoding of the buffer is a live encoding; otherwise, the encoding can be changed when the buffer is saved to disk (C-x Enter c followed by C-x C-w or C-x C-s).

C-x Enter n (which is bound to next-encoding) and C-x Enter p (which is bound to previous-encoding) are used to rotate through the list of available encodings.