[erlang-questions] misultin / unicode

Slav Pankratov gnoblin@REDACTED
Thu Sep 1 19:12:31 CEST 2011


Hello!

I'm using misultin to receive http calls, and they sometimes contain Russian
symbols (unicode).

**
>
> % handle a GET on /users/{username}
> handle('GET', ["users", UserName], Req) ->
>         io:format("~s~n", [UserName]),
> 	Req:ok([{"Content-Type", "text/plain"}], "This is ~s's page.", [UserName]);


In both terminal and browser I see incorrect output - what can be done about it?

big thanks,
Slav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110901/42afd24f/attachment.htm>


More information about the erlang-questions mailing list