in reply to Re: Win32 encoding conversion mystery
in thread Win32 encoding conversion mystery
Which gives the below result, which is identical with the weirdly "upconverted" unicode above, and without further processing useless, as it doesn't map to anything but mojibake on any codepage known to me. (And ACP gives me 1252, sorry for speaking inaccurately about that.)use Win32::Unicode; my $wdir = Win32::Unicode::Dir->new; $wdir->open(@ARGV); my ( undef, undef, $file ) = $wdir->fetch; print join "\n", "length: " . length( $file ) . ", code points:", map +ord, split //, $file;
d:\>perl filename_check.pl RJ209072 length: 17, code points: 226 123 226 78 233 9524 196 113 233 9568 196 191 233 8976 233 189 50
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Win32 encoding conversion mystery
by Anonymous Monk on Aug 13, 2018 at 17:23 UTC | |
by mithaldu (Monk) on Aug 13, 2018 at 17:36 UTC | |
by Anonymous Monk on Aug 14, 2018 at 00:12 UTC | |
by mithaldu (Monk) on Aug 14, 2018 at 08:38 UTC | |
by Anonymous Monk on Aug 14, 2018 at 09:33 UTC | |
| |
by ikegami (Patriarch) on Aug 15, 2018 at 23:14 UTC | |
by mithaldu (Monk) on Aug 16, 2018 at 11:29 UTC |