Think about Loose Coupling | |
PerlMonks |
Re^2: By the shine on my bald pate, I dislike this encoding stuffby Anonymous Monk |
on Mar 05, 2018 at 03:39 UTC ( [id://1210334]=note: print w/replies, xml ) | Need Help?? |
Yep. Betcha the real problem is that the files which contain "non-ASCII characters" didn't use Unicode (UTF-8, UTF-16) to encode those characters, but instead used old-style code pages. But the program's logic assumes that it's Unicode without checking the entire file. I didn't see the OP ever describing what the nature of the "crash" actually is.
In Section
Seekers of Perl Wisdom
|
|