You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by Massimo MANGHI <ma...@unipr.it> on 2019/09/25 14:00:32 UTC
lexicogragrahycally relaxed string comparison
It seems I decided to bother all of you after a long time of being silent.
Does anyone know if a Tcl native tool exists for comparing European
languages strings irrespective of the accents (or any other character
modifier) that might appear in them? (you English speakers, lucky guys
speaking a language that fits the base ASCII code, don't you have any
mercy for us? ;-))
-- Massimo
Firma il tuo 5 per mille all’Università di Parma e aiuta così i nostri studenti che vogliono realizzare un’esperienza di studio all’estero - Indica 00308780345 nella tua denuncia dei redditi.
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org
Re: lexicogragrahycally relaxed string comparison
Posted by Massimo MANGHI <ma...@unipr.it>.
By the way, it sounds strange to me that Tcl doesn't have its own
standard collation tools. That was what I meant with 'native'
-- M
On 9/25/19 4:09 PM, Ronnie Brunner wrote:
> Hi Massimo
>
>> Does anyone know if a Tcl native tool exists for comparing
>> European languages strings irrespective of the accents (or any
>> other character modifier) that might appear in them? (you English
>> speakers, lucky guys speaking a language that fits the base ASCII
>> code, don't you have any mercy for us? ;-))
>
> Nope. The best I found was sth like this:
> https://wiki.tcl-lang.org/page/remove+diacritic, which then allows to
> compare the strings w/ diacritics removed...
>
> Is that what you mean by "Tcl native"? ;-)
>
> Hth Ronnie
>
Firma il tuo 5 per mille all’Università di Parma e aiuta così i nostri studenti che vogliono realizzare un’esperienza di studio all’estero - Indica 00308780345 nella tua denuncia dei redditi.
Re: lexicogragrahycally relaxed string comparison
Posted by Massimo MANGHI <ma...@unipr.it>.
Thank you Ronnie, that map might work out a solution for most cases.
-- Massimo
On 9/25/19 4:09 PM, Ronnie Brunner wrote:
>
> Nope. The best I found was sth like this:
> https://wiki.tcl-lang.org/page/remove+diacritic, which then allows to
> compare the strings w/ diacritics removed...
>
> Is that what you mean by "Tcl native"? ;-)
>
> Hth Ronnie
>
Firma il tuo 5 per mille all’Università di Parma e aiuta così i nostri studenti che vogliono realizzare un’esperienza di studio all’estero - Indica 00308780345 nella tua denuncia dei redditi.
RE: lexicogragrahycally relaxed string comparison
Posted by Ronnie Brunner <Ro...@netcetera.com>.
Hi Massimo
> Does anyone know if a Tcl native tool exists for comparing European
> languages strings irrespective of the accents (or any other character
> modifier) that might appear in them? (you English speakers, lucky guys
> speaking a language that fits the base ASCII code, don't you have any
> mercy for us? ;-))
Nope. The best I found was sth like this: https://wiki.tcl-lang.org/page/remove+diacritic, which then allows to compare the strings w/ diacritics removed...
Is that what you mean by "Tcl native"? ;-)
Hth
Ronnie
--
We innovate. You win. https://netcetera.com
Ronnie Brunner | ronnie.brunner@netcetera.com | T +41 44 297 59 79 |
Netcetera AG | 8040 Zürich | Switzerland | https://netcetera.com |