[erlang-questions] Euro Symbol (€) conversion from HTTP API to SMPP through mochiweb

Sanath Prasanna <>
Mon Nov 10 07:20:20 CET 2014


Hi Dimtry,
Tx a lot for your help.It is working.
Br,
Sanath Roberto

On Sat, Nov 8, 2014 at 1:53 AM, Dmitry Klionsky <>
wrote:

>  On 11/07/2014 05:07 AM, Sanath Prasanna wrote:
>
>  Hi,
> I used mochiweb web server to handle http request. I submit messages with
> euro - € as "%E2%82%AC" thorugh HTTP API. I need to forward this to SMPP
> connction. Before that I want to convert that to 1B65. Otherwise €
> character is not display in mobile.
> How to do that ? Appreciate if some can help to do that.
> Br,
> Sanath Roberto
>
>
> _______________________________________________
> erlang-questions mailing ://erlang.org/mailman/listinfo/erlang-questions
>
>
> Hi,
>
> You need to convert from UTF8 to GSM 03.38. Use this library
> https://github.com/iamaleksey/gsm0338.
>
> 3> gsm0338:from_utf8("€").
> <<"\ee">>
>
> --
> Best regards,
> Dmitry Klionsky
>
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20141110/a508dadc/attachment.html>


More information about the erlang-questions mailing list