This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author crosser
Recipients crosser, eric.araujo, lemburg, loewis, scop, sdaoden
Date 2011-03-12.12:54:06
SpamBayes Score 2.3888214e-09
Marked as misclassified No
Message-id <1299934448.74.0.63756219185.issue6981@psf.upfronthosting.co.za>
In-reply-to
Content
Steffen: can you please be more specific?
As I read the seciton 8.2 of the cited document, I do not see a disparity with my statement. There is even an example:

"""
For example, if a user wanted to interact with the system in French, but required to sort German text files, LANG and LC_COLLATE could be defined as:

    LANG=Fr_FR
    LC_COLLATE=De_DE
"""

which is (almost) exactly my case. I have LANG set to en_US to tell the system that I want to interact in English, and LC_CTYPE - to Russian to tell it that "classification of characters" needs to be Russian-specific.

Note that I do *not* have LC_ALL set, because it takes precedence over all other LC_* variables which is *not* what I want.

I believe that the correct "guessing order", according to the document that you cited, would be:
  LANG
  LC_ALL
then possibly (possibly because it does not have encoding info)
  LANGUAGE
then optionally, as a last resort
  LC_CTYPE and other LC_* variables.
History
Date User Action Args
2011-03-12 12:54:08crossersetrecipients: + crosser, lemburg, loewis, scop, eric.araujo, sdaoden
2011-03-12 12:54:08crossersetmessageid: <1299934448.74.0.63756219185.issue6981@psf.upfronthosting.co.za>
2011-03-12 12:54:07crosserlinkissue6981 messages
2011-03-12 12:54:07crossercreate