From: Christoph Z. <ci...@on...> - 2006-02-27 12:35:25
|
I'm just making my first steps with PythonCard and I think I like it. However, I found that most string attributes are converted to 7-bit ascii by the resource editor. This makes it impossible to use text attributes with international characters like German Umlaute - they are simply swallowed. The culprit is the following code in resourceOutput.py: if isinstance(value, unicode): value = value.encode('ascii', 'ignore') After removing it, everything seems to work fine (no matter whether I have Unicode enabled wxpython installed or not). So is there any real reason that this conversion takes place? Maybe only historical reasons? -- Christoph |