• 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.

Item5777: FormattingTests fail if selected charset is not iso-8859-1

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine UnitTestContrib Normal New   n/a  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


The following lines in Render.pm
     # For most common alphabetic-only character encodings (i.e. iso-8859-*),
    # remove non-alpha characters 
    if( !defined($TWiki::cfg{Site}{CharSet}) ||
          $TWiki::cfg{Site}{CharSet} =~ /^iso-?8859-?/i ) {
        $anchorName =~ s/[^$TWiki::regex{mixedAlphaNum}]+/_/g;

ensure that the FormattingTests in the UnitTestContrib fail if you use a non-iso-8859-1 charset.

This impacts other tests as well, which can give misleading failures that take ages to track down.

TWikiFnTestCase should be modified to enforce a setting for the site charset (and turn off locales). These features should be the subject of other tests.

-- TWiki:Main/CrawfordCurrie - 14 Jul 2008

Summary FormattingTests fail if selected charset is not iso-8859-1
ReportedBy TWiki:Main.CrawfordCurrie

SVN Range TWiki-5.0.0, Wed, 09 Jul 2008, build 17004
AppliesTo Engine
Component UnitTestContrib
Priority Normal
CurrentState New


TargetRelease n/a

Topic revision: r1 - 2008-07-14 - CrawfordCurrie
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