in reply to How to display/accept unicode chars in a tk entry widget

G'day CrashBlossom,

Whenever your source code contains Unicode characters (i.e. outside the 7-bit ASCII range) you should use the utf8 pragma.

Running your code as posted, I got é where é should have been.

Adding "use utf8;" after "use warnings;" fixed this.

— Ken

Replies are listed 'Best First'.
Re^2: How to display/accept unicode chars in a tk entry widget
by CrashBlossom (Beadle) on Jul 01, 2023 at 14:07 UTC

    Problem solved - thanks!