Big5 to UTF-8 conversion

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rebyphp
Forum Newbie
Posts: 6
Joined: Mon May 26, 2003 12:38 pm

Big5 to UTF-8 conversion

Post by rebyphp »

Hi, Everyone,

I need to change the Big5 code (fetch from MySQL) into UTF-8 format.

The UTF-8 can be either any of the following:

Literal UTF-8
Decimal numeric character reference (e.g.А)
Hexadecimal numeric character reference (e.g. А)

People has suggested use

html_entity_decode
http://hk.php.net/manual/en/function.ht ... decode.php

But I cannot get it work. Any idea??

Thanks :D
Post Reply