From: Mattia B. <mb...@ds...> - 2002-09-23 19:53:05
|
> hello all, > i played with the Wx::Locale::GetFontEncoding implemented in wxPerl 0.12 > > i'm a little bit confused about linux. > i always get iso-8859-15, no mather which layout i enable... ^^^^^^ ? If by "layout" you mean "keyboard layout", then be aware that locale has nothing to do with keyboard layout. If you did not mean "keyboard layout", then just forget what I just wrote... > i attached a little script that checks which encoding is on the system. > i would rally apprechiate it if the users of the 0.12 wxPerl could test > it and tell me what they get (linux and windows) > would relly be great if i get some feedback Well, if I count as a wxPerl user... mbarbon@tweddledee:~/wx/b/gtk/Pcvs-2.3-d$ export LC_ALL mbarbon@tweddledee:~/wx/b/gtk/Pcvs-2.3-d$ LC_ALL= mbarbon@tweddledee:~/wx/b/gtk/Pcvs-2.3-d$ perl -Mblib foo.pl Using /home/mbarbon/wx/b/gtk/Pcvs-2.3-d/blib us-ascii mbarbon@tweddledee:~/wx/b/gtk/Pcvs-2.3-d$ LC_ALL=it_IT mbarbon@tweddledee:~/wx/b/gtk/Pcvs-2.3-d$ perl -Mblib foo.pl Using /home/mbarbon/wx/b/gtk/Pcvs-2.3-d/blib iso-8859-1 mbarbon@tweddledee:~/wx/b/gtk/Pcvs-2.3-d$ LC_ALL=it_IT@euro mbarbon@tweddledee:~/wx/b/gtk/Pcvs-2.3-d$ perl -Mblib foo.pl Using /home/mbarbon/wx/b/gtk/Pcvs-2.3-d/blib iso-8859-15 mbarbon@tweddledee:~/wx/b/gtk/Pcvs-2.3-d$ So I think it works as expected. > PS: mattia, the lines i comented out have variables not exported by WxPerl, > aren't they supported? what do i get if a user has this encoding on the > system? Run around in circles, screaming? ;-p Seriously, I added all documented constants in CVS now; I hope to release 0.12b3 in a few days. Regards Mattia |