You are here: Foswiki>Tasks Web>Item3683 (21 Jul 2007, WillNorris)Edit Attach

Item3683: The compare CGI script ignores I18N in TWiki4.

pencil
Priority: Normal
Current State: Confirmed
Released In:
Target Release: n/a
Applies To: Extension
Component: CompareRevisionsAddOn
Branches:
Reported By: TWiki:Main.SergejZnamenskij
Waiting For:
Last Change By: TWikiUserMapping_WillNorris
The bin/compare CGI script have worked fine for us in CairoRelease with koi8-r locale. In Dakar it recodes cyrillic as it is were latin in such a way:
<p> &#xE2;&#xD5;&#xC4;&#xC5;&#xCD; &#xD3;&#xDE;&#xC9;&#xD4;&#xC1;&#xD4;&#xD8;, &#xD3;&#xC5;&#xC7;&#xCF;&#xC4;&#xCE;&#xD1; 

I have had put the following line to server config to avoid users irritation
RedirectMatch ^/(.*/bin)/compare/(.*)$ /$1/rdiffword/$2
but it remains in Support and Sandbox and You still can try to look for the Cyrillic in script output:

http://wiki.botik.ru/twiki/bin/compare/Support/WebHome?rev1=1;rev2=56

The settings are described in Item3679

-- TWiki:Main/SergejZnamenskij - 24 Feb 2007

What bin/compare script? TWiki doesn't have a bin/compare script. Or did you mean rdiff?

CC

No, some of our users found this script remained from some previous installation

# Copyright (C) 1999-2006 Peter Thoeny, peter@thoeny.org
# and TWiki Contributors.

to be more convenient then bin/rdiff and sometimes even than bin/rdiffword. (rdiffword tends to hang up in rare cases) Script still work fine for English, but i18N appears to be broken now.

I have changed the priority to low as this script is not supported now

-- TWiki:Main.SergejZnamenskij - 20 Jul 2007

Do you probably mean the TWiki:Plugins.CompareRevisionsAddOn which has a bin/compare?

-- TWiki:Main.OliverKrueger - 20 Jul 2007

Oh, Yes, of course! It was fully compatible with koi8-r couple of years ago.

-- TWiki:Main.SergejZnamenskij - 20 Jul 2007

now there's an addon who's functionality should have been merged into the core years ago. I don't know why no-one's done so - but anyone that is interested, please think about doing so.

especially as when i wronte rdiff, i made it kind of pluggable!

-- TWiki:Main.SvenDowideit - 20 Jul 2007

Changed status to Confirmed and corrected attribution

CC

ItemTemplate edit

Summary The compare CGI script ignores I18N in TWiki4.
ReportedBy TWiki:Main.SergejZnamenskij
Codebase 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.5, 4.1.0, 4.1.1
SVN Range TWiki-4.1.1, Tue, 20 Feb 2007, build 12932
AppliesTo Extension
Component CompareRevisionsAddOn
Priority Normal
CurrentState Confirmed
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn
Topic revision: r10 - 21 Jul 2007, WillNorris - This page was cached on 22 Nov 2020 - 21:58.

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