guile-user
[Top][All Lists]
Advanced

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

Re: how to decode uri containing non-ascii characters?


From: Noah Lavine
Subject: Re: how to decode uri containing non-ascii characters?
Date: Fri, 2 Nov 2012 09:42:37 -0400

It may be that Guile is decoding it correctly, but your terminal program is unable to display the characters. At least, I often see '?' in place of characters that my terminal can't display.

I'm not sure how to test this right now, though.

Noah


On Fri, Nov 2, 2012 at 8:43 AM, Kejia柯嘉 <address@hidden> wrote:
hi balafonrut,

no error message, it just restored to several '?'. thank you.

在 2012年11月1日星期四,nalaginrut 写道:

On Thu, 2012-11-01 at 20:03 -0400, Kejia柯嘉 wrote:
> hi all,
>
> in an html textarea, i input some chinese text, and receive the text from
> the http request body. i tried to use uri-decode to restore the text, but
> failed:
> (display (uri-decode "%E5%B0%8F"))
>

It's OK in my system.
--------------cut---------------
scheme@(guile-user)> (display (uri-decode "%E5%B0%8F"))
小scheme@(guile-user)>
--------------end---------------

Can you show the error message?

> any suggestions?
>
> thanks a lot for your helps.
>
> kejia
>
> ☵☯☲




--

☵☯☲



reply via email to

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