• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

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()


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.


Summary garbage presented when UTF-8 text can't be converted into {Site}{Charset}
ReportedBy AntonioTerceiro

SVN Range Thu, 12 Jan 2006 build 8253
AppliesTo Engine

Priority Normal
CurrentState Closed

Checkins 8289 8291 8316 8317 8331
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r4 - 2006-01-14 - AntonioTerceiro
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback