Clan x86

Technical (Development, Security, etc.) => JavaOp Board => JavaOp Support Archive => Topic started by: Korean on February 14, 2008, 05:55:27 AM

Title: Java op is not support Korean?
Post by: Korean on February 14, 2008, 05:55:27 AM
hi.  :)
i'm from Korea.
Java op is not support Korean alphabet?
it is 2byte

image link:
http://img337.imageshack.us/img337/2246/k2he5.jpg
Title: Re: Java op is not support Korean?
Post by: Camel on February 14, 2008, 01:10:43 PM
Looks like a UTF8 encoding issue.

Dealing with encoding in Java sucks a lot. It tries to auto-convert in the new String(byte[]) constructor, but it won't take a hint as to what it's encoded as, which makes it very difficult to work around.
Title: Re: Java op is not support Korean?
Post by: Joe on February 14, 2008, 01:40:02 PM
And on top of that, none of us have any clue what Korean is supposed to look like. Well, maybe Ergot knows.
Title: Re: Java op is not support Korean?
Post by: topaz~ on February 14, 2008, 06:00:21 PM
Quote from: Joe on February 14, 2008, 01:40:02 PM
And on top of that, none of us have any clue what Korean is supposed to look like. Well, maybe Ergot knows.
If you open the link that the poster supplied, you will see some Korean.
Title: Re: Java op is not support Korean?
Post by: Camel on February 14, 2008, 06:50:45 PM
Quote from: igimo on February 14, 2008, 06:00:21 PM
Quote from: Joe on February 14, 2008, 01:40:02 PM
And on top of that, none of us have any clue what Korean is supposed to look like. Well, maybe Ergot knows.
If you open the link that the poster supplied, you will see some Korean.
Five characters is hardly enough to take on such a large endeavor.
Title: Re: Java op is not support Korean?
Post by: Joe on February 14, 2008, 07:35:59 PM
Quote from: igimo on February 14, 2008, 06:00:21 PM
Quote from: Joe on February 14, 2008, 01:40:02 PM
And on top of that, none of us have any clue what Korean is supposed to look like. Well, maybe Ergot knows.

If you open the link that the poster supplied, you will see some Korean.

Are you sure? I gathered from what the guy said that that's a picture of what Korean -doesn't- look like.
Title: Re: Java op is not support Korean?
Post by: Blaze on February 14, 2008, 10:31:48 PM
Quote from: Joe on February 14, 2008, 07:35:59 PM
Quote from: igimo on February 14, 2008, 06:00:21 PM
Quote from: Joe on February 14, 2008, 01:40:02 PM
And on top of that, none of us have any clue what Korean is supposed to look like. Well, maybe Ergot knows.

If you open the link that the poster supplied, you will see some Korean.

Are you sure? I gathered from what the guy said that that's a picture of what Korean -doesn't- look like.

The text from the left is from inside the actual StarCraft client, and the one on the right is what the bot shows, or at least that's what I gathered.
Title: Re: Java op is not support Korean?
Post by: topaz~ on February 14, 2008, 11:04:04 PM
Quote from: Camel on February 14, 2008, 06:50:45 PM
Five characters is hardly enough to take on such a large endeavor.
From what I understand, Korean is composed of an alphabet much like English. It is not similar to Chinese, where there is an uncountable number of characters available in the dictionary.
Title: Re: Java op is not support Korean?
Post by: rabbit on February 14, 2008, 11:23:51 PM
Actually, there are about 80,000 hanzi characters.
Title: Re: Java op is not support Korean?
Post by: Korean on February 19, 2008, 09:11:44 AM
aha. UTF8-encoding issue?   :(
i want UTF8-encoding bug fix..
can't fix UTF8-encofing bug ?  :(
Title: Re: Java op is not support Korean?
Post by: iago on February 19, 2008, 09:19:44 AM
Quote from: Camel on February 14, 2008, 01:10:43 PM
Looks like a UTF8 encoding issue.

Dealing with encoding in Java sucks a lot. It tries to auto-convert in the new String(byte[]) constructor, but it won't take a hint as to what it's encoded as, which makes it very difficult to work around.
So.. any suggestions?
Title: Re: Java op is not support Korean?
Post by: Camel on February 21, 2008, 07:40:40 PM
There's some undocumented conversion utilities that are part of the JDK; you might try starting there.