|
From: | minh thu |
Subject: | Re: [Chicken-users] Unicode inside csi |
Date: | Tue, 3 Apr 2007 21:24:37 +0200 |
2007/4/3, Thomas Christian Chust <address@hidden>:
minh thu wrote: > [...] > In particular, why value of line 1 is 195 and value of line 2 is 249 ? > Actual decimal value for รน is 249. > [...] Hello, by default, CHICKEN's strings are bytestrings, not character strings. Therefore the string-ref call is returning the first byte of the extended character marker of UTF-8, not the character itself. If you want CHICKEN's strings to behave as UTF-8 character strings, have a look at the utf-8 egg. cu, Thomas
Thanks Thomas, Thanks John ! thu
[Prev in Thread] | Current Thread | [Next in Thread] |