[CentralOH] Locale-dependent alphabets

Eric Floehr eric at intellovations.com
Mon Nov 11 21:40:41 CET 2013


> > Because of that fact (i.e. a constant that changes :-), string.uppercase
> > (and lowercase and letters) have been removed from Python 3.
>
> What does one use to get the locale dependent uppercase letters?
>


I have no idea. the locale module doesn't have any obvious way. You can
collate with strcoll() but I don't see any way to actually see the alphabet.

Any one know how Python2 string.uppercase, etc. gets it's locale-dependent
alphabet, and how you might do it in the Unicode world we now live in?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/centraloh/attachments/20131111/1b4b44f9/attachment.html>


More information about the CentralOH mailing list