in reply to Do I have a unicode problem, or is this something else?
Please check the utf8 manual for more details. In some situations, it might be preferable to use the Encode module:binmode STDOUT, ":utf8"; my $u = __t("Patient Id"); utf8::decode( $u ); print $u,"\n";
(updated to use "$u" instead of "$a" -- lexical instances of perl globals can lead to confusion and anxiety...)use Encode; binmode STDOUT, ":utf8"; my $u = decode( "utf8", __t("Patient Id")); print $u;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Do I have a unicode problem, or is this something else?
by Steve_BZ (Chaplain) on Jun 10, 2010 at 15:16 UTC | |
by graff (Chancellor) on Jun 10, 2010 at 16:56 UTC | |
by Steve_BZ (Chaplain) on Jun 10, 2010 at 17:03 UTC | |
by ikegami (Patriarch) on Jun 10, 2010 at 17:35 UTC | |
by ikegami (Patriarch) on Jun 10, 2010 at 17:32 UTC | |
by Steve_BZ (Chaplain) on Jun 10, 2010 at 17:45 UTC |