It looks like you're using non-ascii characters in a non-unicode  
string. Use the proper unicode code points for your special characters  
and you should be fine.

Alex.

On 26/03/2009, at 6:20 AM, Steve <[email protected]> wrote:

>
> I am trying to write a flash card program to demo a simple GUI library
> I am writing, but I am running into trouble. I get this error when I
> try to put umlauts or smart quotes in Pyglet Label texts:
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-
> packages/pyglet/text/document.py", line 428, in _insert_text
>    self._text = u''.join((self._text[:start], text, self._text
> [start:]))
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position
> 1: ordinal not in range(128)
>
> Will this be fixed any time soon?
>
> In other news, my simple GUI library is almost ready for release.
> >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to