Re: [gentoo-dev] Re: Locale check in python_pkg_setup()

2010-08-05 Thread James Cloos
JC == Jonathan Callen a...@gentoo.org writes: JC You can create a POSIX.UTF-8 locale right now, using the same JC /etc/locale.gen mechanism that is used for generating other locales JC (localedef will output a few warnings, but the generated locale JC works just fine from what I can see). JC If

[gentoo-dev] Re: Locale check in python_pkg_setup()

2010-07-31 Thread Jonathan Callen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 07/31/2010 05:39 PM, James Cloos wrote: PH == Paweł Hajdan, phajdan...@gentoo.org writes: PH Another thing we can consider is making UTF8 the default setup in PH Gentoo. I think most people (including me) don't care whether it's PH C or

[gentoo-dev] Re: Locale check in python_pkg_setup()

2010-07-29 Thread Jonathan Callen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 07/29/2010 07:16 PM, Arfrever Frehtes Taifersar Arahesis wrote: + locale=$(python -c 'import os; print(os.environ.get(LC_ALL, os.environ.get(LC_CTYPE, os.environ.get(LANG, POSIX') + if [[ ${locale} != *.UTF-8 ]]; then Shouldn't

Re: [gentoo-dev] Re: Locale check in python_pkg_setup()

2010-07-29 Thread Arfrever Frehtes Taifersar Arahesis
2010-07-30 02:13:20 Jonathan Callen napisał(a): On 07/29/2010 07:16 PM, Arfrever Frehtes Taifersar Arahesis wrote: + locale=$(python -c 'import os; print(os.environ.get(LC_ALL, os.environ.get(LC_CTYPE, os.environ.get(LANG, POSIX') + if [[ ${locale} != *.UTF-8 ]]; then Shouldn't