On Tue, 1 Apr 2008, Richard Jones wrote: > On Tue, 1 Apr 2008, dave berk wrote: > > I'm trying to display some non-english text within the opengl window. I > > pre'd the text with u, but it doesn't seem to help. All I get is question > > marks. What should I do to display utf-8 encoded text? is it even > > supported? > > pyglet's text rendering will accept a unicode string for rendering just > fine.
ps. if you don't know about unicode and utf8 or other text encoding then I suggest you read something like: http://www.amk.ca/python/howto/unicode http://www.jorendorff.com/articles/unicode/python.html http://wiki.laptop.org/go/Python_Unicode Richard --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
