[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] UTF8 egg case conversion problem
From: |
Mehmet Köse |
Subject: |
[Chicken-users] UTF8 egg case conversion problem |
Date: |
Tue, 4 Jan 2011 01:24:53 +0200 |
Hi everyone,
utf8-string-downcase cannot convert "Latin Letter With Dot Above"
correctly. (U-0130, only Turkish has this letter afaik.) This one-line
patch fixes the problem for me:
--- utf8-case-map.scm.orig 2011-01-04 00:08:10.559095845 +0200
+++ utf8-case-map.scm 2011-01-04 00:28:16.022095891 +0200
@@ -267,7 +267,7 @@
((#x00CD) (and (lang? opt "lt") dotted-small-i/acute))
((#x0128) (and (lang? opt "lt") dotted-small-i/tilde))
;; Turkish and Azeri
- ((#x0130) (if (lang? opt "tr" "az") #\I dotted-small-i))
+ ((#x0130) (if (lang? opt "tr" "az") #\i dotted-capital-i))
((#x0307) (and (lang? opt "tr" "az") ""))
((#x0049) (and (lang? opt "tr" "az") dotless-small-i))
(else #f))
I also tried to understand what this dotted-small-i (U-0307) does with no luck.
Here is what we use for our "two distinct letters instead of I and i" problem,
in practice:
small: i (U-0069) capital: İ (U-0130)
small: ı (U-0131) capital: I (U-0049)
Mehmet Kose.
- [Chicken-users] UTF8 egg case conversion problem,
Mehmet Köse <=