Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4 Convert document formats on the command line' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4 Convert document formats on the command line
Authored by: seb2 on Jul 05, '05 08:12:51PM
Sounds good. But
/usr/bin/textutil -convert txt -encoding NSUnicodeStringEncoding -inputencoding NSISOLatin1StringEncoding <fileName>
results in "Invalid output encoding." -- How come?

[ Reply to This | # ]
10.4 Convert document formats on the command line
Authored by: adriaant on Jul 06, '05 07:24:21AM

Use utf-16 as the parameter for -encoding



[ Reply to This | # ]