Forum Moderators: coopster

Message Too Old, No Replies

utf8 -> UCS2 (utf16) conversion

anyone got a function for that?

         

phph

2:42 pm on Mar 17, 2006 (gmt 0)

10+ Year Member



I spent last couple of days searching for such function but couldn't find anything useful! If any of you has got a function or class for that, please let me know!

An example conversion would look like this:
"abcdef" -> "006100620063006400650066"

Any help is greatly appreciated!

coopster

12:02 am on Mar 21, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Have you had a look at the iconv Functions [php.net]?