Forum Moderators: coopster

Message Too Old, No Replies

Big5 to Unicode

         

waimichael

2:00 am on Dec 5, 2003 (gmt 0)



I'm implementing a multi-language website using PHP and MySQL. I'm using the English WinXP Home with UltraEdit. I'm now looking for the tools which can change the words in big5/GB to Unicode. Would anyone give me some suggestions?

Thanks.

coopster

1:05 pm on Dec 5, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, waimichael!

You may want to start at the Unicode [unicode.org] home page. There is plenty of information there, as well as links to the Code Charts. I hope this gets you started in the right direction.

davidpbrown

1:22 pm on Dec 5, 2003 (gmt 0)

10+ Year Member



ht*p://www.mandarintools.com/cintro.html
appears to have a 'Java GB/Big5/Unicode Converter' and other links to tools that 'Convert Web Documents between GB, Big5, Unicode, etc.'

ergophobe

10:19 pm on Dec 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



This is a little OT, but a couple of weeks ago I noticed that unicode.org has a downloadable Unicode Chart browser. You can update the charts any time I guess, though I haven't tried this yet. Anyway, it gives you nice access to the Unicode Charts locally. It's pretty cool.

[unicode.org ]

blackie

4:35 pm on Jan 3, 2004 (gmt 0)

10+ Year Member



is there a build-in function that does the conversion in php? i have tried some coding example, but it all did not work like what phpMyAdmin did.. when u sumbit a big5 char into the MySQL using phpMyAdmin, it will convert to char into a coding with a &# in front and a number behind.. is that a unicode? if not then what is the code name?

ergophobe

7:42 pm on Jan 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Look at the multi-byte extension. You will have to compile it in (or add the dll in Windows) and it is experimental. I have NOT used it myself. According to the documentation, though, support for Big-5 is experimental in PHP 4.3.0. Unicode is well-supported in many flavors (UTF-8, UTF-16LE, UTF-16BE etc).

Tom