Unicode-Ascii Coversion

Surindar Sivanesan surindar.shanthi@REDACTED
Mon Jan 30 12:50:21 CET 2006


Hi All,
   I want to convert Unicode List to Ascii Code List in erlang.
We are getting packets in TCP/IP communication as Unicode characters but we
want to convert it as Ascii code list so thatw ecan process further and also
i want to kow how to convert Ascii list to Unicode list.
Can any one help to solve this.

For eg the Unicode list will be like this [78,0,49,0,50,0] where the
original content is "N12" in Ascii we get the same as [78,49,50].

--
with regards,
S.Surindar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20060130/6912b727/attachment.htm>


More information about the erlang-questions mailing list