in reply to How read utf8 charachter from AddTextfield() in Win32::Gui
Where is it showing that (what program)?
For example cmd.exe shows the output of
asperl -Mopen=:std,utf8 -e" print $_, ' ',chr($_), ' ' for 931 .. 935"
931 Σ 932 Τ 933 Υ 934 Φ 935 Χ
But notepad will gladly show Sigma/Tau/Upsilon/Phi/Chi:
931 Σ 932 Τ 933 Υ 934 Φ 935 Χ
In both cases the bytes are the same
$ perl -Mopen=:std,utf8 -e" print $_, ' ',chr($_), ' ' for 931 .. 935" + |hexdump 00000000: 39 33 31 20 CE A3 20 39 - 33 32 20 CE A4 20 39 33 |931 93 +2 93| 00000010: 33 20 CE A5 20 39 33 34 - 20 CE A6 20 39 33 35 20 |3 934 + 935 | 00000020: CE A7 20 - | | 00000023;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How read utf8 charachter from AddTextfield() in Win32::Gui
by mohamad (Initiate) on Apr 04, 2010 at 20:45 UTC | |
by Anonymous Monk on Apr 05, 2010 at 04:12 UTC | |
by mohamad (Initiate) on Apr 05, 2010 at 08:58 UTC | |
by HelenCr (Monk) on Mar 02, 2013 at 02:57 UTC | |
by mohamad (Initiate) on Apr 05, 2010 at 05:14 UTC | |
by Anonymous Monk on Apr 05, 2010 at 06:52 UTC |