Vorg unicode blog
Unicode makes my brain hurt
A little while ago I mentioned how Lux was adding a Japanese localization. And it did in version 5, along with some other funky languages. Since Lux is written in Java it makes it generally pretty easy to support languages that use extended character sets.

The problem is that the current build of PHP on my server doesn't have multibyte string support in it. So this means that whenever the ranking system or tracker encounter a Japanese or other multibyte character they mess them up.

Checking in my server control panel I see it looks easy enough to rebuild PHP with mbstring support. My powerbook's PHP actually came with mbstring enabled, so I already have a test bed for it.

Except PHP with mbstring enabled doesn't like normal POST data. Or it doesn't translate it how I want it to or something. Fiddling with the php.ini mbstring options doesn't seem to help, and I don't really want to go to the effort of testing multipart/form-data POST data since application/x-www-form-urlencoded is so much simpler.

In short: Bleeeech! Maybe this will end up being an excuse to rewrite some of my PHP into server-side java...
Posted by dustin on May 20, 2005. Tagged with
| Read 1 Reply...


Unicode escpae sequences
A lovely beta tester (Bryan) reported that accented characters weren't showing up properly in Lux. This was because I was just typing them into the source code. This is not the unicode way. Unicode is a character encoding set that encompasses everything you could possibly desire, like chinese letters and such. After I found the lists of unicode escape sequences and converted to using them all was well.
Posted by dustin on May 10, 2004. Tagged with


Tag CloudFull Archives

VorgTag Cloud

Vorg unicode RSS feed RSS

Latest Photo
Quote of Now:
Popular Posts
Computer Games

Hey You! Subscribe to the Vorg unicode RSS feed.
Or get wider media from the Vorg All Topic feed.


Members login here.
© Vorg Group.