COWBOY Unicode Support

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

COWBOY Unicode Support

Theepan
Hi There,

cowboy_req:reply/4 fails with {reason,badarg} for erlang:iolist_size when unicode characters are present in the html page.

Cowboy version 2.0

What am I missing?

Thanks,
Theepan
Reply | Threaded
Open this post in threaded view
|

Re: COWBOY Unicode Support

Theepan
Oops sorry, the issue is not with COWBOY. Proper iodata() was not passed. Resolved it.

Best,
Theepan


On Thu, Dec 26, 2019 at 2:16 AM Theepan <[hidden email]> wrote:
Hi There,

cowboy_req:reply/4 fails with {reason,badarg} for erlang:iolist_size when unicode characters are present in the html page.

Cowboy version 2.0

What am I missing?

Thanks,
Theepan