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?
HTML Export
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
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.
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.