What is the difference between languages that end in UTF-8
and those that don't?
In particular between it_IT
and it_IT.UTF-8
, and then the one that interests me most which is between C
and C.UTF-8
. What should I put between C
and C.UTF-8
in the variable "LC_ALL" for example?
Here is the list that appears when I run the locale -a
command, which is to make you better understand what my concerns are.
C
C.utf8
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IL
en_IL.utf8
en_IN
en_IN.utf8
en_NG
en_NG.utf8
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZM
en_ZM.utf8
en_ZW.utf8
it_CH.utf8
it_IT.utf8
POSIX
C
(ascii charset) locale is guaranteed to give the expected results on any common system, because it is compatible with most charset. But if you want to be able to use non ASCII characters (éèçà...) you have to use a non ASCII charset and UTF-8 is kind of universal, and is nowadays a de facto standard. – Lisk