I have Unicode text which I need to import into a Moveable Type blog, which requires ASCII imports. What can I do?
June 29, 2004 8:01 PM Subscribe
ASCII/Unicode conversions/importing into MT problems...[mi]
posted by alidarbac to Computers & Internet (2 answers total)
So I'm trying to import a blog with a lot of non-ASCII characters (Chinese saved in Unicode in my case) into Moveable Type 3. I was running into some problems, checked the MT support fora, and found that you have to import in ASCII. But the problem for me with just saving to ASCII is that it would turn all that Chinese into garbled nonsense.
It was suggested to me when I asked
that the main problem with trying to import non-ASCII text was with the type of line breaks. MT needs to have Unix-style line breaks (LF) while Unicode plain text stores with Windows-style line breaks (CR/LF).
Would there be some way to take my Unicode formatted export file and convert it to ASCII while preserving the Unicode? For instance, to convert the Unicode to its hexadecimal coding and the line breaks from CR/LF to LF. Would this do the trick? I saw online some Java converters, but that would hardly work with my 2MB export file.
Does anyone else have any experience importing with non-ASCII characters into MT?