in reply to Another utf-8 decoding problem
Then decode all incoming data, and before printing anything, set up an IO layer:
binmode STDOUT, ":encoding($encoding_supported_by_your_terminal)":
If you debug output, use hexdump -c - it never lies (as opposed to your terminal, which often does).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Another utf-8 decoding problem
by DreamT (Pilgrim) on Oct 11, 2010 at 11:51 UTC | |
by moritz (Cardinal) on Oct 11, 2010 at 11:54 UTC | |
by DreamT (Pilgrim) on Oct 11, 2010 at 12:27 UTC | |
by moritz (Cardinal) on Oct 11, 2010 at 12:48 UTC | |
by DreamT (Pilgrim) on Oct 11, 2010 at 13:06 UTC | |
|