minh thu scripsit: > #;1> (char->integer (string-ref "\u00f9" 0)) > 195
What happens here is that when you use a \u escape, it stores the correct UTF-8 representation into the string. Unless you have loaded the utf8 egg, though, string-ref will select the bytes of the string instead of interpreting it as containing UTF-8 characters. So you need: (use syntax-case) (use utf-8) (import utf-8) and then this will correctly return 249. -- Mos Eisley spaceport. You will never John Cowan see a more wretched hive of scum and [EMAIL PROTECTED] villainy -- unless you watch the http://www.ccil.org/~cowan Jerry Springer Show. --georgettesworld.com _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users