You are here: Foswiki>Tasks Web>Item11186 (05 Jul 2015, GeorgeClark)Edit Attach

Item11186: Improve operation of {Site}{CharSet} and {UseLocale}. Better international character support.

pencil
Priority: Normal
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Engine
Component:
Branches:
Reported By: MichaelDaum
Waiting For:
Last Change By: GeorgeClark
While {Site}{CharSet} defaults to undef in Foswiki.spec, it is always set to a defined value in the session constructor thus finally defaulting to iso-8859-1.

There are several problems here:

  • excessive testing of {Site}{CharSet} being defined in various places of the code
  • breakage of Request/Response encapsulation by direct use of CGI::charset()
  • Foswiki::Response not defaulting to {Site}{CharSet} in its constructor

-- MichaelDaum - 18 Oct 2011

Also: testing {Locale} is misused as a check for unicodeness in various places, foremost the session constructor but also in CompareRevisionsAddOn.

-- MichaelDaum - 19 Oct 2011

Michael, what's the status on this. There are lots of checkins, was it fixed?

-- GeorgeClark - 02 Dec 2014
 
Topic revision: r14 - 05 Jul 2015, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy