UTF-16:Unrecognised BOM 5b64 at ./test line 11. UTF-32 fails as well.
For figuring out what encoding a file is, see my comments in Re: Converting UTF8 to ANSI and the replies (except for the stuff about File::BOM, that doesn't seem to apply here).
Update:
A hex dump revealed that there are definitely chars encoded above 0x7f
Can you show us?
In reply to Re^2: Parsing issue (null bytes?)
by haukex
in thread Parsing issue (null bytes?)
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |