NYCPHP Meetup

NYPHP.org

[nycphp-talk] UCS2/HexEncoded chracters

Mohammad Abu Karim mabukarim at gmail.com
Wed Dec 9 03:49:23 EST 2009


*Hi nyphp members,*

*I am new member in this mailing list, and I am happy to join it.

**Any one can help me ? how could I get UCS2/HexEncoded chracters

like 'Hello' will return "00480065006C006C006F"

This are the HexEncoded values:

0048 = H
0065 = e
006C = l
006C = l
006F = o*

*Also in arabic (!مرحبا عالم) will return
06450631062d0628064b06270020063906270644064500200021*

*How I can get the encoded UCS2 in php?*

*Regards*

-- 
---
Mohammad Abdallah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20091209/ce21bc93/attachment.html>


More information about the talk mailing list