Oops, forgot to copy list: Well from my own experience decoding and display are not always consistent. You MUST use a "decode" function before you display any utf8, whether it displays right or not, otherwise will have problems on other platforms. Eg when I ported from Linux to Windows, some utf8 codes which worked on Linux failed on Windows. When I went through all my code I discovered a lack of consistency and stuff which should not have displayed properly did display. Anyhow:
use utf8; # This allows utf8 decorated characters in your code eg ççç use Encode; # This gives access to code and decode functions use for all file access and db access. binmode STDOUT, ":utf8"; # Can't remember why I have this, maybe it's for file::open . . . then . . . $var = decode("utf8",$row->{ATT_BOOKING_COMMENT_TXT}) ; The other problem you may see is sorting in alphabetical order with decorated characters (eg úlcera should come before ulceração, but a native Perl sort puts it afterwards)!!! Regards, Steve. -----Original Message----- From: Jirí Pavlovský [mailto:jir...@gmail.com] Sent: 26 April 2013 08:40 To: wxPerl users Subject: ComboBox and utf8 Hello, I have a problem with ComboBox and utf8 data. For example string "Dervis" is displayed like "Dervi" + 2 weird characters. If I just create a test case, paste the mentioned string into the code and 'use utf8' then it works. But these strings are coming from db and DBD::Pg is set to convert them to the perl internal encoding. Also there seem no to be a problem with other controls. Wx::Perl::ListCtrl displays it correctly. Thanks. -- Jirí Pavlovský