Thread: Chinese font ?
View Single Post
Old 02-20-2009, 11:49 AM   #8
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,316
Karma: 4963983
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
If it's UTF-16, little endian, then you can try this (on a linux system):

$ recode UTF-16LE..utf8 live.txt
$ dos2unix live.txt (I actually used vim to convert the utf8 file from dos to unix line endings)
$ recode utf8..html live.txt

Now you can wrap the text in <pre></pre> tags and save it as HTML (attached file). If you have an appropriate font, there should be no encoding problems here, as the text is pure ASCII.

Note: The attached file is .txt, rename is as .htm
Attached Files
File Type: txt live.txt (58.3 KB, 141 views)
Jellby is offline   Reply With Quote