Test case:
- make sure UI I18N is enabled
- make sure all languages are enabled (including recently added chinese)
- set {SiteCharset} to, e.g.,
iso-8859-1
- list
%LANGUAGES%
Chinese text appears as garbage. This happens because that Unicode characters can't be converted to
iso-8859-1
.
The right behaviour would be generate HTML entities for text that can't fit into {SiteCharset}. This must be changed in
TWiki::UTF82SiteCharset()
AT
SVN 8289
I18N code now uses TWiki::I18N::(from|to)SiteCharSet to deal with encodings. Since TWiki::UTF8SiteCharSet was used in several other places, I preferred not to touch it.
AT