There's more than one way to do things | |
PerlMonks |
Re^3: Weird file type problems transferring from Windows to Mac OSby Jim (Curate) |
on May 28, 2013 at 17:15 UTC ( [id://1035658]=note: print w/replies, xml ) | Need Help?? |
Try using iconv instead of dos2unix to convert the Unicode character encoding scheme of the files. The gremlins in the text might be something like improperly unpaired UTF-16 surrogate characters. I would expect iconv to handle these anomalies better than dos2unix. (It should at least warn you about them in the default case.) Just a thought… UPDATE: Another good tool for diagnosing peculiar and elusive character encoding problems is BabelPad.
In Section
Seekers of Perl Wisdom
|
|