View Single Post
Old 01-09-2011, 06:06 AM   #7
discens
Junior Member
discens began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2010
Device: Kindle 2, Kindle DX, Sony PRS-650
Reading the previous post made me realize how much of a newbie I am.
If anyone is patient enough, I would like to have some clarifications, please. I would like to convert a .docx file (with both cyrillic and latin characters) to .epub. I own a Sony PRS-650.


Quote:
Originally Posted by kiklop74 View Post
1. Convert your source text into utf-8 encoded HTML
I did this by setting the utf-8 option in MS Word 2007 and then saving the file (let's call it example1) as a "webpage" (not as a single file webpage).

Quote:
Originally Posted by kiklop74 View Post
2. Make sure HTML file has appropriate meta tag for charset
To modify the html file, I opened it with the Note Pad, and replaced the string <meta http-equiv=Content-Type content="text/html; charset=windows-1252"> with the one given above.

Quote:
Originally Posted by kiklop74 View Post
3. Download Liberation font pack from here https://fedorahosted.org/liberation-fonts/ and unpack them in the same folder with HTML file
a)Assuming the name of the html file is example1, is this the folder called example1_file or the folder which contains both the example1_file folder and the example1 file (sorry for the imprecise terminology)?


b) What should the final result of the unpacking be? The .tar file, of should this be unpacked again?

Quote:
Originally Posted by kiklop74 View Post
4. Add this to the head section of your HTML file:
Where exactly in the head section? I succeded in converting the html file to epub through Calibre only by adding this just after the last occurrence of </style> (otherwise I got fail messages), but in any case with the resulting epub file question marks showed instead of cyrillic characters on the Sony Reader.

Finally, after doing these modifications with the Note Pad, is it correct to save the file with the extension .htm choosing utf-8 as encoding?

Thank you very much for any reply.

Last edited by discens; 01-09-2011 at 09:38 AM.
discens is offline   Reply With Quote