If I set binmode ":encoding(UTF-8)" on the pipe, data containing the character '–' is read correctly, but the character '·' is not. If I omit the binmode call, the '·' character is read correctly,
Then the output being produced by dumptorrent.exe must not be encoded as either ascii or utf8.
Typically unicode on windows system is cp1250; so try that.
In reply to Re: What is the proper way to read non-ANSI data
by BrowserUk
in thread What is the proper way to read non-ANSI data
by freonpsandoz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |