[Zope] using locale with windows

Robert Rottermann robert@redcor.ch
Tue, 30 Oct 2001 22:02:18 +0100


Andreas did provided a How-to for using non ASCII characters and structured
text. Since it only explains settings for Linux here is what you have to use
under W2000.

>>> locale.setlocale(locale.LC_ALL,'german')
'German_Germany.1252'
>>> locale.setlocale(locale.LC_ALL,'german_Germany')
'German_Germany.1252'
>>> locale.setlocale(locale.LC_ALL,'german_Switzerland')
'German_Switzerland.1252'

so starting Zope  with -L "german"
works fine as does
-L "german_Switzerland"

Robert