|
From: | Sungjin Chun |
Subject: | Re: [Chicken-users] [Q] uri-common has problem with UTF-8 uri. |
Date: | Mon, 14 Jan 2013 13:36:35 +0900 |
Hi,then, uri/url with korean characters work. How can I set those part more generic one?If I change this part as;(char-set union char-set:letter+digit (string->char-set "-_.~")))(define char-set:uri-unreservedFirst, I might have found wrong place but...It seems that the main source of the my problem is related to the part of uri-generic.scm, especially;
(define char-set:uri-unreserved
(char-set union char-set:letter+digit (string->char-set "-_.~") char-set:hangul))
I believe the ASCII definition is correct even for Unicode URLs.You need to represent the URL in utf8 and then use percentescapes on the utf8 bytes, which is what would happen naturallyhere.--Alex
[Prev in Thread] | Current Thread | [Next in Thread] |