<div dir="ltr">Hi Dimtry,<div>Tx a lot for your help.It is working.</div><div>Br,</div><div><span style="font-family:arial,sans-serif;font-size:13px">Sanath Roberto</span><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Nov 8, 2014 at 1:53 AM, Dmitry Klionsky <span dir="ltr"><<a href="mailto:dm.klionsky@gmail.com" target="_blank">dm.klionsky@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div><div class="h5">
<div>On 11/07/2014 05:07 AM, Sanath Prasanna
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">
<div>Hi,</div>
<div>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. </div>
<div>How to do that ? Appreciate if some can help to do that.</div>
<div>Br,</div>
<div>Sanath Roberto</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
erlang-questions mailing list
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
</blockquote>
<br>
Hi,<br>
<br>
You need to convert from UTF8 to GSM 03.38. Use this library
<a href="https://github.com/iamaleksey/gsm0338" target="_blank">https://github.com/iamaleksey/gsm0338</a>.<br>
<br>
3> gsm0338:from_utf8("€").<br>
<<"\ee">><span class="HOEnZb"><font color="#888888"><br>
<br>
<pre cols="72">--
Best regards,
Dmitry Klionsky</pre>
</font></span></div>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>