in reply to Perl/Tk: utf8 in Text widget?

Hi,

did you try  mysql_enable_utf8?


Cheers, Christoph

Replies are listed 'Best First'.
Re^2: Perl/Tk: utf8 in Text widget?
by Marais (Novice) on Sep 24, 2009 at 20:26 UTC
    Thanks for the suggestion. I gave it a try, and got the following error message:
    Tk::Error: Cannot decode string with wide characters at /usr/lib/perl/5.8/Encode.pm line 166.

    A UTF-8 character pasted into one of the Text widgets does end up in the database correctly, so my feeling is that communications between the app and the database are not the problem.