in reply to Re: Encoding issue
in thread Encoding issue
$ chcp Active code page: 437 $ echo Limón |od -tacx1 0000000 L i m " n sp sp cr nl L i m ó n \r \n 4c 69 6d a2 6e 20 20 0d 0a 0000011 $ perl -le" print for @ARGV" Limón |od -tacx1 0000000 L i m s n cr nl L i m ≤ n \r \n 4c 69 6d f3 6e 0d 0a 0000007 $ perl -le" binmode STDOUT, ':encoding(cp437)'; print for @ARGV" Limón + |od -tacx1 0000000 L i m " n cr nl L i m ó n \r \n 4c 69 6d a2 6e 0d 0a 0000007 $ perl -le" binmode STDOUT, ':encoding(UTF-8)'; print for @ARGV" Limón + |od -tacx1 0000000 L i m C 3 n cr nl L i m ├ │ n \r \n 4c 69 6d c3 b3 6e 0d 0a 0000010 $
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Encoding issue
by Anonymous Monk on Mar 30, 2010 at 10:58 UTC | |
by Anonymous Monk on Mar 30, 2010 at 11:13 UTC |