Subject: | Tk 804.027 Enrty widget encoding problem (unicode) |
OS: Windows XP Professional SP2 EN
Perl: ActivePerl 5.8.6
Tk: 804.027 (bundled with ActivePerl)
There is a "display" problem in Entry widgets. When you hardcode a non-ASCII text and display it any widget with "use encoding 'iso-8859-9'". Everything is fine. But when you type from the keyboard they are not displayed correctly inside Entry. I've looked at the source and saw that if the encoding can not be determined, a hard coded value "iso-8859-1" is used and it looks like this is causing the problem.
It looks like this bug is present only on win32 platform(s), since everything is fine under Linux (perl 5.8.3, Tk 804.027, Mandrake Linux 10.0).
I' ve tested this with Turkish encoding, but someone also reported that it is present with Polish encoding. And I think that it is broken for all encodings.
I can not supply a patch, since I don't know C.