in reply to Re: Do I have a unicode problem, or is this something else?
in thread Do I have a unicode problem, or is this something else?
Hi Graff,
Thanks for this. So what I understand is the use utf8 that I have in my modules will just simplify any
tobinmode STDOUT, ":utf8"; my $a = __t("Patient Id"); utf8::decode( $a ); print $a,"\n";
binmode STDOUT, ":utf8"; my $a = __t("Patient Id"); decode( $a ); print $a,"\n";
Presumably I can also insert this code into __t() and not worry about putting it elsewhere.
Thanks for this: very helpful.
Have a good day.
regards
Steve
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Do I have a unicode problem, or is this something else?
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 | |
|
Re^3: Do I have a unicode problem, or is this something else?
by ikegami (Patriarch) on Jun 10, 2010 at 17:32 UTC | |
by Steve_BZ (Chaplain) on Jun 10, 2010 at 17:45 UTC |