The default encoding for new Debian GNU/Linux installations is UTF-8. Note : Fresh Debian/Etch installation have UTF8 enabled by default. The default in debian since Etch on Apr 8th 2007 (13 years ago) has been utf-8. It is that encoding the most common for present day terminals and programs in Linux.įrom more general to particular settings: OS Then, the most general list of world characters is Unicode, which, in Linux, is usually encoded in UTF-8. Being the most common the ISO-8859-1 (English), and the other in proportion to the corresponding language in use. The next set of encodings (in the west) are the ISO-8859 sets (from 1 to 15). Most consoles use ASCII as the most basic character set as defined by ANSI. That basic decision has been carried over for many years. The oldest character encoding used in consoles like VT52 was ASCII. Please understand that I'm not looking for answers to "Which encoding do you personally use?" but rather some means by which I could figure out the distribution of encodings that Linux users are likely to be using. However, I'm not sure whether that was set up by administrators at my workplace or that's the setting out of the box. My own Linux machine at work (actually a virtual Debian 5 machine that runs via VMWare Player on my Windows machine) is set up by default to use a US-ASCII terminal encoding. Nor is it clear which method most users use to configure their locale: changing the LANG environment variable, or something else.Ī related question would be how Linux configures these by default. But what proportion of Linux users fall into that category? The savvy ones who often need to use non-ASCII characters probably use a UTF-8 encoding. (For instance, on a US English machine, it will be OEM-437, while on a Russian machine, it will be OEM-866.)īut it's not clear to me how most users configure their system and terminal encodings on Linux. We can assume that most users configure these through the Control Panel, and that, for instance, their terminal encoding, which is usually non-Unicode, can be easily predicted from the standard configuration for that language/country. It's pretty easy to guess which system and terminal encodings are most common on Windows. I need to make a decision regarding whether a complicated commercial program that I work on should assume a particular terminal encoding for Linux, or instead read it from the terminal (and if so, how).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |