toomuchcookies / pgu

Automatically exported from code.google.com/p/pgu
GNU Lesser General Public License v2.1
0 stars 0 forks source link

No spanish specific characters in textarea #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi
I am using pgu 0.12.3 in an OLPC (sugar> debian based) machine.
The textarea works fine in general, but when I press ñ, á, é, or the other 
vowels(very important in spanish), I get nothing on screen and an error (key 
ntilde unrecognized, dead_acute unrecognized, and so on).
Any ideas?
Thanks in advance

Original issue reported on code.google.com by guidob...@gmail.com on 15 Dec 2010 at 12:48

GoogleCodeExporter commented 9 years ago
Howdy, I wasn't able to reproduce the problem with my system (PGU 0.12.3, 
pygame 1.9.1, python 2.6.5). The spanish characters show up okay in the 
textarea widget. Just guessing, but perhaps the problem is related to the OLPC 
environment. 

I found a reference to the error message you were receiving. Checkout:

https://coderanger.net/svn/projects/olpc/games/olpcgames/canvas.py

Look in the function _keyevent (towards the bottom): that would definitely fail 
on unicode characters. Maybe that code is being called at some point?

Original comment by peter.ro...@gmail.com on 29 Dec 2010 at 10:04

GoogleCodeExporter commented 9 years ago
I'm closing this ticket since it seems to be more an issue with the OLPC python 
code.

Original comment by peter.ro...@gmail.com on 6 Mar 2011 at 9:43