On Sun, Aug 31, 2014 at 07:11:09PM -0700, Michael Havens wrote: > Hola! I am in section 7.13 and am now attempting to figure out my locale. I > live in the United States and speak English.... well not British English, > but anyways! So I run 'locale -a' and get this list: I am told the first > two letters represent the language and the second two letters represent the > country. but what about the characters after that? in my particular case I > would choose en_US, en_US.iso88591, or en_US.utf8. If I remember correctly > from what I've seen I should select en_US.iso88591 but I am not sure. I > also would like to know what the differences are between the three and why > I should select one over the other... if that is not two much trouble... > okay after a little more looking found that: > > The only difference between en_US and en_US.utf8 is that the former uses > ISO-8859-1 for a character set, while the latter uses UTF-8. *Prefer UTF-8.* > The only difference in these is in what characters they are capable of > representing. ISO-8859-1 represents characters common to many Americans > (the English alphabet, plus a few letters with accents), whereas UTF-8 > encodes all of Unicode, and thus, just about any language you can think of. > UTF-8, today, is a defacto standard encoding for text. (Which is why you > should prefer it.) > > I am assuming from the previous text (found here > <http://serverfault.com/questions/605776/linux-locale-en-us-utf-8-vs-en-us>) > that en_US is an alias for en_US.iso88591 . It seems I am correct in that > assumption: > 'LC_ALL=en_US locale charmap' reveals > ISO-8859-1 > I am thinking it is an alias! Am I correct? >
It used to be. For modern glibc, I have no idea. Why not just use the extra six characters and specify en_US.UTF-8 ? ĸen -- Nanny Ogg usually went to bed early. After all, she was an old lady. Sometimes she went to bed as early as 6 a.m. -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
