Page 1 of 1
HTML Export
Posted: Mon Apr 03, 2006 8:54 am
by cychia
1. When saving content as HTML, if rvsoUTF8 is included the exported HTML will automatically converted to utf8 right?
2. If rvsoUTF8 is not included, how can I export HTML with my specified encode format like GB2312 etc?
Posted: Mon Apr 10, 2006 9:52 am
by Sergey Tkachenko
1. Yes.
2. The default saving, if UTF-8 is not used:
- non-Unicode text is saved as it is, without any conversion between charsets; but since you use Chinese, you should not use non-Unicode text;
- Unicode text is saved as a charset-independent text: English characters are saved as they are, other characters are saved as &#NNNN; codes; the produced HTML is large, but can be read in any charset.
Saving text can be modified using OnSaveItemToFile. You can convert text to the proper charset yourself using this event. But this is quite a low-level event, it must be user carefully.