pingus-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strange locale problem/fix


From: cagri coltekin
Subject: Strange locale problem/fix
Date: Tue, 15 Apr 2003 01:00:58 +0200
User-agent: Mutt/1.5.3i

Hi,

I have a weird locale problem, the small patch attached solves
the problem. This definitely is not a good solution, but I'm not
sure how to solve the problem in a better way (or if it is
possible to).

Turkish has a peculiar case conversion: 'I' and 'i' are different
letters in Turkish. Lowercase 'I' has no dot, and, of course,
uppercase 'i' has. So ClanLib fails while comparing strings like
"InputBox". The string from resource file goes through "locale
aware" case conversion, the string in source file does not. That
makes "lowercase I" != "I" in case- insensitive comparison.

The patch changes the gui resource file, making two instances 'I'
lowercase.

Any other ideas? If no, and nobody minds having a bit ugly names
in resource file, can we apply this?

Cheers,
-- 
cagri

Attachment: I-i.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]