Forum Moderators: open

Message Too Old, No Replies

Unicode Conversion between UTF-8 and UTF16

unicode convert utf-8 utf-16 php

         

kingsleyfong

7:56 pm on Mar 25, 2004 (gmt 0)



Hi

I am developing a forum that allows users to search the metadata that the author entered. Since some of these meta data are entered in various languages, I want to use utf-8 char set as my interface element and utf-16 for my My-SQL server. This is because utf-8 is not supported by PHP version 3.0 or MYSQL 3.0 or earlier.

Therefore I need to find out the conversion algorithm between utf-8 and utf-16. Is there anyone who can help me out please? I looked at the open source codes and they don't seem to make sense to me. Thanks very much! :)

David_M

6:54 am on Mar 28, 2004 (gmt 0)

10+ Year Member



I think jcode.pm may be what you need. I haven't tried it yet.

If anyone has used jcode.pm, please sticky me too- looking for info on how to get it running.