PHP converting chinese character to unicode

diabolo

Community Advocate
Community Support
Messages
1,682
Reaction score
32
Points
48
Since PHP6 has not come out yet. Unicode Function is not available yet.

I found a way by using Javascript to encode the Chinese characters, but I was hoping more of a server-side approach.

OR'

if converting to unicode is lengthy and confusing. What would be the best way to display chinese text on a website and store in a database
could you place chinese text directly into the HTML and database?
like http://hk.yahoo.com
Edit:
I found my answer already.
If a moderator can close this thread that would be much obliged.

I found my answer here: http://www.webmasterworld.com/php/3681246.htm
if anyone wants to know.
 
Last edited:
Top