You are here: Foswiki>Tasks Web>Item13608 (10 Oct 2015, GeorgeClark)Edit Attach

Item13608: Regression - jquery.wikiword does not transliterate unicode chars to ASCII.

pencil
Priority: Normal
Current State: Closed
Released In: 2.0.2
Target Release: patch
Applies To: Extension
Component: JQueryPlugin
Branches: master
Reported By: MichaelDaum
Waiting For:
Last Change By: GeorgeClark
Item13378 and Item9955 removed this required feature, i.e. on Foswiki platforms that are not fully unicode-safe.

-- MichaelDaum - 04 Aug 2015

In case you want extend the table, here are the tables for most of languages. http://foswiki.org/Sandbox/JsTranslitTable

Also, the approach isn't rules out many unicode chars, so, as alternative approach could be using this https://github.com/slevithan/xregexp lib what allows build unicode filtering regexes (e.g. filter out any non-word chars) and after use the transmit-table created from the BMP-blocks (easy, could supply the table).

-- JozefMojzis - 05 Aug 2015

This might be of value for the regexes in jquery.foswiki as well.

-- MichaelDaum - 05 Aug 2015

Note that the full mapping as in JsTranslitTable is 100K minified ... vs 3K for a simple mapping.

-- MichaelDaum - 05 Aug 2015

therefore i'm not "cecking in" it. In case of the need, you could cherry pick what you want from the table.

-- JozefMojzis - 05 Aug 2015

I've separated out the original small downgrade map into a file of its own downgradeMap.simple.js and have the full one in some other downgradeMap.full.js so that you can chose which one to use. Or maybe it makes sense to separate out all languages into individual downgrade maps. Most people are probably interested in "their" language and don't care about others. Then use a downgrade map according to the browser language? Hum.

-- MichaelDaum - 05 Aug 2015
 

ItemTemplate edit

Summary Regression - jquery.wikiword does not transliterate unicode chars to ASCII.
ReportedBy MichaelDaum
Codebase 2.0.1
SVN Range
AppliesTo Extension
Component JQueryPlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:76e96791f978 distro:1e83f2e0578d
TargetRelease patch
ReleasedIn 2.0.2
CheckinsOnBranches master
trunkCheckins
masterCheckins distro:76e96791f978 distro:1e83f2e0578d
ItemBranchCheckins
Release01x01Checkins
Topic revision: r7 - 10 Oct 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