Add stripAccents to KStringHandler
Torsten Rahn
torsten.rahn at credativ.de
Thu Oct 18 14:24:19 BST 2007
On Thursday 18 October 2007 12:34:32 Frederik Gladhorn wrote:
> Yes, it is really easy to use, but nobody knows about this. People somehow
> tend to not read unicode specifications and it took me a couple of hours to
> find out about it because I was not satisfied with creating char mappings.
Thanks. I looked through the docs, even asked a Troll and didn't find a
solution.
The obvious solution would be however to fix this glaring "bug" in the Qt doc
which hides a nice feature through doc-obfuscation.
However I agree with Thiago that a sophisticated deaccent would indeed take
into account more than stripping off any dots, dashes or carets. I'm not sure
whether it's really app-specific though.
So instead of rushing it into KDE 4.0 IMHO we should better think it through
and come up with a nice solution for KDE 4.1.
Torsten
> Of now four programs benefiting from this (add Marble as it seems) no dev
> knew about it. And I wonder how many other apps could use this for search
> fields and maybe in other places.
>
> Would you feel more comfortable with "stripDiacritics" as name?
>
> Greetings,
> Frederik
--
Torsten Rahn
Tel.: 0 21 61 - 46 43 - 192
credativ GmbH, HRB Mönchengladbach 12080
Hohenzollernstr. 133, 41061 Mönchengladbach
Geschäftsführung: Dr. Michael Meskes, Jörg Folz
More information about the kde-core-devel
mailing list