A start at how-to for helping debug locale-related problems. When reporting these,

Start up a python prompt. If possible, use 'zopectl debug'. Otherwise, just start python (if your Zope installation came with python, use that version of python). Post the output you get from entering the following commands at the python prompt:

import string
import locale
print locale.getdefaultlocale()
locale.setlocale(locale.LC_ALL, '')
print locale.getlocale()
print string.uppercase
print string.lowercase

Also if applicable, try to reproduce your problem on zwiki.org (your issue page, TestPage, InternationalCharacterExamples are good places) and include a link to that. Showing is better than telling.

promt is OK, so how can I set it to work with Zope --JároliJózsef, Mon, 23 Feb 2004 05:17:48 -0800 reply

locale.setlocale(locale.LC_ALL, 'hu_HU.UTF-8') will set the given locale (hungarian with UTF-8 encoding) from the python prompt. locale.setlocale(locale.LC_ALL, '') will set the user's default locale settings for all categories

more info http://www.python.org/doc/current/lib/module-locale.html (for those who understand it :)

More questions: how can I check the same thing with Zope, not in prompt