german "Umlaute" not supported
-
- Posts: 1324
- Joined: Tue Mar 08, 2011 11:15 am
german "Umlaute" not supported
When entering an uppercase character as a marker, it will be converted lowercase automatically. However, this does not function for german "Umlaute", that it "Ü", "Ö" and "Ä". Because of this, entries marked with such a tag won't be found. Solution: convert uppercase Umlaute to lowercase.
-
- Moderator
- Posts: 202
- Joined: Fri Feb 06, 2009 6:01 pm
Re: german "Umlaute" not supported
Thomas Lohrum wrote:When entering an uppercase character as a marker, it will be converted lowercase automatically. However, this does not function for german "Umlaute", that it "Ü", "Ö" and "Ä". Because of this, entries marked with such a tag won't be found. Solution: convert uppercase Umlaute to lowercase.
Thanks for the report, I made a few tests and it's true, the uppercase to lowercase routine doesn't convert umlauts at the moment. However if we insert lowercase letters and umlauts directly, search seems to work correctly. My understanding is that tags are meant to be inserted in lowercase form, so to have a better context for the problem, I would like to ask, did you report this "bug" because you simply found it while using CintaNotes, or does it affect your day to day usage of the application?
-
- Posts: 1324
- Joined: Tue Mar 08, 2011 11:15 am
Re: german "Umlaute" not supported
Yes, the search for markers is ok when the marker was created using lowercase, e.g. "übersicht".
I encountered that problem when actually using a marker "Übersicht" (engl. overview).
I encountered that problem when actually using a marker "Übersicht" (engl. overview).
- CintaNotes Developer
- Site Admin
- Posts: 5003
- Joined: Fri Dec 12, 2008 4:45 pm
- Contact:
Re: german "Umlaute" not supported
Hi and thanks for the report!
This behavior happens because CintaNotes uses a simple C library routine to convert to lowercase, which does not support international characters. There exists a free library that does that (ICU), but it is 17MB in size - so bundling it with CintaNotes is obviously not a option.
For now I'm going to register this bug on the roadmap and later I'll probably think of something to do with it.
One option would be to abandon automatic lower-case conversion whatsoever.
This behavior happens because CintaNotes uses a simple C library routine to convert to lowercase, which does not support international characters. There exists a free library that does that (ICU), but it is 17MB in size - so bundling it with CintaNotes is obviously not a option.
For now I'm going to register this bug on the roadmap and later I'll probably think of something to do with it.
One option would be to abandon automatic lower-case conversion whatsoever.
Alex
-
- Posts: 1324
- Joined: Tue Mar 08, 2011 11:15 am
Re: german "Umlaute" not supported
The windows function "CharLower" from user32.dll does the job.
http://msdn.microsoft.com/en-us/library ... 85%29.aspx
Is there a specific reason why you can not use that function?
http://msdn.microsoft.com/en-us/library ... 85%29.aspx
Is there a specific reason why you can not use that function?
- CintaNotes Developer
- Site Admin
- Posts: 5003
- Joined: Fri Dec 12, 2008 4:45 pm
- Contact:
-
- Moderator
- Posts: 370
- Joined: Thu Jan 29, 2009 10:40 am
- Contact:
Re: german "Umlaute" not supported
Would that still be a problem the other way around -- from lower to upper case, like I once suggested?
Midas, your friendly nugget gobbler, with a message from our sponsors:
Ask questions the smart way -- see www.catb.org/~esr/faqs/ |
- CintaNotes Developer
- Site Admin
- Posts: 5003
- Joined: Fri Dec 12, 2008 4:45 pm
- Contact:
Re: german "Umlaute" not supported
It really doesn't make that much difference, one can have problems either way
Alex