Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: Weird file type problems transferring from Windows to Mac OS

by Jim (Curate)
on May 28, 2013 at 17:15 UTC ( #1035658=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Weird file type problems transferring from Windows to Mac OS
in thread Weird file type problems transferring from Windows to Mac OS

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.


Comment on Re^3: Weird file type problems transferring from Windows to Mac OS
Re^4: Weird file type problems transferring from Windows to Mac OS
by agaved (Novice) on May 28, 2013 at 18:07 UTC
    BabelPad is for Windows only, unfortunately ...

      Did you try using iconv instead of dos2unix? If so, did it work?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1035658]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (12)
As of 2014-09-01 12:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (6 votes), past polls