If performance becomes an issue, then one thing to try is sysread() which will get each hunk of bytes into a single $char_string. Then use substr() to look at each byte.
split(//) is slow because it has to create an array. substr() is faster because that won't happen - use the form that returns just the current single byte.
However, it sounds like the main idea to just get an answer. If it takes 20 minutes, nobody is going to care!
In reply to Re^3: unknown encoding
by Marshall
in thread unknown encoding
by jimw54321
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |