Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index

On 01/03/2015 01:00 PM, wrote:
Andrew Douglas Pitonyak wrote:
Yep, it pulls the value from the application language settings, so that
if I set that to Turkish for the application, I can test in Turkish.

   Print StrComp("ı", "I", 0)  ' compare Turkish dotless i with upper
case i
   Print StrComp("i", "I", 0)  ' compare lower case i to upper case i

returns 0 and 1. If I change back to English US, this evaluates as -1, 0.

I think in Turkish "I" is used as the upper-case dotless ı, and there's a separate character for the upper-case dotted i (which presumably should compare equal to the lower-case dotted i in that locale). Perhaps U+0130 "İ".


You are correct.... and it seems that LO handles these just fine. I am told that it will not handle all cases well (seems that there are a few cases in German that may not be correctly handed; for example, comparing characters with accents to characters without). I expect some clarification on this in the next week so that I can add more detail to a new section where I am attempting to add clarity so that others do not need to read the code and rely on trial and error to know what to expect. Oh, and perhaps file a bug report if the behavior is just wrong or inconsistent.

Andrew Pitonyak
My Macro Document:

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.