<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 11/07/2014 05:07 AM, Sanath Prasanna
wrote:<br>
</div>
<blockquote
cite="mid:CALQZz0xA4O2wtJHss8ZdnS6im+h9yA3GXHaZ3J73_Z3_vh=zxw@mail.gmail.com"
type="cite">
<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 class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
erlang-questions mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-questions">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 class="moz-txt-link-freetext" href="https://github.com/iamaleksey/gsm0338">https://github.com/iamaleksey/gsm0338</a>.<br>
<br>
3> gsm0338:from_utf8("€").<br>
<<"\ee">><br>
<br>
<pre class="moz-signature" cols="72">--
Best regards,
Dmitry Klionsky</pre>
</body>
</html>