[Mattricks] Fel i hämtningen

Ragnar Ouchterlony ragnar at lysator.liu.se
Fri Nov 28 18:00:29 CET 2003


On Thu, 27 Nov 2003, Pierre Westman wrote:

> Traceback (most recent call last):
>   File "Mattricks\Main.pyc", line 152, in OnFetch
>   File "Mattricks\Main.pyc", line 220, in __do_fetch
>   File "Mattricks\Main.pyc", line 178, in __change_hrf
>   File "Mattricks\ComparisonPage.pyc", line 124, in ChangeHRF
>   File "Mattricks\ComparisonPage.pyc", line 162, in __change_hrf
>   File "Mattricks\HRFData.pyc", line 124, in __getitem__
>   File "Mattricks\HRFData.pyc", line 217, in __init__
>   File "encodings\iso8859_1.pyc", line 18, in encode
> UnicodeEncodeError: 'charmap' codec can't encode character u'\u010c' in
> position 11228: character maps to <undefined>
>

This is due to that you have (presumably) a player with a name including a
character not in the standard iso8859-1 character set. It shouldn't cause
an error though, but in the future it will just be a garbled character.

It would be good to convert everything so that the whole program is in
utf8 instead, but wxPython isn't good at handling that yet,
unfortunately.

/Ragnar



More information about the Mattricks mailing list