Thank you very much, ikegami.
Unless it's valid US-ASCII, in which case it doesn't matter if you use Windows-1252 or UTF-8.
Yep. Any purely ASCII text files will simply get a UTF-8 byte order mark prefixed to them, forcing them into Unicode goodness.
EBCDIC text files will be blown to smithereens. In the context of what I'm doing, I don't care.
Jim
In reply to Re^2: What's the best way to detect character encodings, Windows-1252 v. UTF-8?
by Jim
in thread What's the best way to detect character encodings, Windows-1252 v. UTF-8?
by Jim
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |