What are the standard encodings in Mac, Unix and others?
I know that if my friend who uses Windows sends me a file, it'll most probably be encoded in cp1251. So in emacs, I can do: revert-buffer-coding-system and will choose cp1251.
|
What are the standard encodings in Mac, Unix and others? I know that if my friend who uses Windows sends me a file, it'll most probably be encoded in
| ||||
|
feedback
|
|
There is no "the standard encoding", you have many of them. UTF-8, an Unicode encoding, is the most commonly used these days. It is the default on most Linux distributions, as well as many email clients on other platforms. On Windows, "Unicode" usually refers to UTF-16, which is just another representation of the same Unicode. Other encodings have been slowly falling into disuse, due to their limitations and inability to use multiple languages in the same file.
See also a list of character encodings. A Python script named chardet is able to accurately guess the encoding used on given files. | |||||||||
feedback
|