From: Andy T. <an...@ha...> - 2006-03-03 10:08:02
|
Christoph Zwerschke wrote: > 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 > > Done. Thanks for spotting this. Regards, Andy -- -------------------------------------------------------------------------------- From the desk of Andrew J Todd esq - http://www.halfcooked.com/ |