Using localisation

new topic     » topic index » view thread      » older message » newer message

Localisation also governs how characters in the 128-255 range are turned to
lower or upper case.
As a result, perhaps replacing, under Windows, lower() and upper() by
ansiLower() and ansiUpper() as defined in win32lib.ew (provided by R. Stowasser).
I'd suggest using the code for ansiLower() as the body of lower().
Under Linux/BSD, I don't know if the same functionality is available.
Under DOS, there is support for proper capitalisation too. It is implemented in
the interpreter in dos_compare() for the purpose of comparing file names.
lowr() or upper() should (at least could) turn ä to A¨and back, for instance.

CChris

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu