View Single Post
Old 09-22-2015, 03:55 AM   #3
brolny
Connoisseur
brolny began at the beginning.
 
Posts: 64
Karma: 10
Join Date: Sep 2015
Location: Yerevan, Armenia
Device: none
Quote:
Originally Posted by Doitsu View Post
You can't. Sigil will automatically save all text files as utf-8 files, except for files in the Misc folder.
BTW, even though the ePub 2.0.1 standard allows both utf-8 and utf-16 files, using utf-16 files will only blow up your files with no real benefits.

For example, the file size of your original ALPHABET.xhtml utf-16 file is 58KB while the file size of the same file saved as utf-8 is only 30KB. Since the default reading app of some older eInk readers can't handle chapter files larger than 300 KB you may want to keep all chapter files as small as possible.

(utf-16 is only beneficial for CJK files and even those files are only about 30% smaller when encoded as utf-16 files.)
It's all clear about the size.
Just strange that the Sigil makes that significant changes in files - on open/add - and say nothing.
Is it hard to implement function - "Save As UTF-16 Copy..."? in the future
If Sigil do UTF-16 -> UTF-8 --- let us revert it on Save

Thanks a lot!

PS
We create some large and impotant html files in the MSVC C#, therefore work with UTF-16 files is fast and easy way.
So as you see - we look for benefit not from ePub, but from supporting ePub in this case.
Sometimes size does not matter
brolny is offline   Reply With Quote