Chris's Wiki :: blog/linux/LocaleQuest Commentshttps://utcc.utoronto.ca/~cks/space/blog/linux/LocaleQuest?atomcommentsDWiki2006-11-08T22:31:10ZRecent comments in Chris's Wiki :: blog/linux/LocaleQuest.By Chris Siebenmann on /blog/linux/LocaleQuesttag:CSpace:blog/linux/LocaleQuest:bcae1c2115520a7576b6c559dbf32ef08d608b71Chris Siebenmann<div class="wikitext"><p>My concerns now aren't with setting <code>LC_CTYPE</code> but if anything odd would
start to happen in my environment when I went UTF-8, and how well things
like our Solaris 8 boxes would cope. The change is a fairly big lurch,
and I usually alternate between rather nervous of those and screamingly
gung-ho, more or less randomly.</p>
<p>(Since all I want is <code>LC_CTYPE</code>, setting just it strikes me as the best
approach.)</p>
</div>2006-11-08T22:31:10ZBy DanielMartin on /blog/linux/LocaleQuesttag:CSpace:blog/linux/LocaleQuest:50f686241bf7e344af2283e9baeec8b2c6c51562DanielMartin<div class="wikitext"><p>I have yet to see in all your locale-related annoyances any evidence that the override order is anything other than what is explicitly documented: (even if some of your commentors get the order wrong off the top of their head)</p>
<pre>
System default("C") is overridden by
LANG, which is overriden by
the usage-specific LC_* setting, which is overriden by
LC_ALL
</pre>
<p>Given that, why not set <code>LANG</code> to <code>en_US.UTF-8</code> and set <code>LC_COLLATE</code> to <code>C</code>? Or, if you're feeling paranoid, set <code>LANG</code> to <code>C</code> and <code>LC_CTYPE</code> to <code>en_US.UTF-8</code>?</p>
</div>2006-11-08T17:15:07Z