Jump to content
Chinese-Forums
  • Sign Up

Java incorrectly display Chinese characters


Hero Doug

Recommended Posts

I'm using a vocabulary program called JVLT and I've noticed a problem with the way Chinese characters are displayed. I'm wondering if it's a Java problem or a JVLT problem

I've attached an image of what I'm talking about. IF you look at the characters displayed by the Google IME and JVLT you'll see their different. The two marks on 平 are inverted.

Anyone have any ideas why?

1748_thumb.attach

Link to comment
Share on other sites

I have control over the fonts, however I'm not sure which one to use. I've tried Minglu, PMingLu, Arial, and a few others, all of which don't display properly.

I'm starting to think that maybe I should file a bug with the developers.

Would you be able to let me know if MingLu displays properly? That way I'll have a reference to use when contacting them.

Link to comment
Share on other sites

MingLiu doesn't. 宋体 does. PMingLiu doesn't. Arial Unicode MS does. And happily enough, Wingdings works fine :mrgreen:

Edit - I'm not sure if Google's IM works the same as Sogou's, but if it does you can go into the settings and see / change which font it is using. That will tell you which font on your system is getting it right.

Link to comment
Share on other sites

That's just the difference between the way Windows and Unix set the date. Unix typically sets the hardware clock to UTC and then adjusts the time based on the user's timezone. Windows just sets the time straight from the hardware clock. So if you're running Windows from within Linux, it will look at the hardware clock which is in UTC and specify that as the time.

Link to comment
Share on other sites

These font variations can be quite annoying, but since they (and variant characters) exist, it's good to get exposure to them before encountering them in the wild. It would be nice if textbooks did more with different fonts and such to better prepare students.

Link to comment
Share on other sites

I tried all the fonts available and SimSun works well (many didn't work at all, including Windings :) )

There was one issue with testing as well. You can see when entering the word in a text field it's displayed "differently". But after it's been entered and processed it displays as I believe it should. It even fixed the double dot problem gougou has in Pleco (so maybe you can try out this font as well).

These font variations can be quite annoying, but since they (and variant characters) exist, it's good to get exposure to them before encountering them in the wild. It would be nice if textbooks did more with different fonts and such to better prepare students.
I would have never known that was the character for ping unless you just said it. I would figured it was another character altogether. Are there a lot of these "variations".

P.S. The clock: as imron said, it's Windows running in Linux, and I haven't a clue which clock is right. ;)

1749_thumb.attach

Link to comment
Share on other sites

Join the conversation

You can post now and select your username and password later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Click here to reply. Select text to quote.

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...