Comment #6 on issue 405 by oresmus: Virtual key codes are not mapped in OS X
http://code.google.com/p/pyglet/issues/detail?id=405
Can you specify the branch you fixed, and the revision? (The "project
updates" page cuts off just a couple
days after the date you fixed it, so I can't use it to go back that far.)
The reason I wonder is that there is a
bug in this code in the trunk, but not in 1.1.3, for at least some unicode
chars input using a standard
keyboard layout. Specifically, option-shift-k works for me in 1.1.3, but in
the trunk it fails on this line
wchar = str((wchar.value)).upper()
with
UnicodeEncodeError: 'ascii' codec can't encode character u'\uf8ff' in
position 0: ordinal not in
range(128)
And there's a comment just before that code pointing to this issue 405:
I didn't file a separate bug on this, since I didn't yet confirm that it's
due to this change, and since my two
tests (working and failing) were also on different Macs and Mac OS
versions, as well as different pyglet
versions. But it seems likely enough to be due to the above-mentioned
change that I think it's worth
commenting on it here.
--
You received this message because you are subscribed to the Google Groups "pyglet-issues" group.
To post to this group, send email to
pyglet...@googlegroups.com.
To unsubscribe from this group, send email to
pyglet-issue...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/pyglet-issues?hl=en.