From: UK Registered: 2008-10-08 Posts: 907 Website
It's probably because you have Chinese fonts in your web browser which make the kanji look different. If you use firefox you can fix it by choosing a Japanese font in preferences. Theres another way, but I can't remember it, hopefully someone else will know
This type of thread comes up at least once a week, maybe we should have a sticky or something?
Thanks for the input I'm using Opera and as you said it rendered the Chinese version of the characters. Fixed it by pressing F12 (or Tools --> Quick preferences) then "edit site preferences" and changing the encoding group to Japanese before restarting Opera. Now the correct Japanese Kanji is showing thanks to your clues!
Hi Daffydus, in the screenshot it looks like you set preferences for a specific site (kanji.koohii.com), but the way I do this usually in other browsers is to tell the browser the exact Japanese font to use for all Japanese text.
To fix this on all sites I think in Opera you'd go to Preferences > Advanced > Fonts > International Fonts..., pick "Kanji" then choose the "Normal " and "Monospace" fonts. I can't verify if it works on Opera as I have the correct default fonts on XP, maybe someone can confirm?
Thanks $B%U%!%V%j%9(B. A more universal would be really nice, but this solution doesn't seem to work at least on my version of Opera (9.64) on Windows 7. There is nowhere to choose the "Normal" and "Monospace" fonts like you mention.
Well that's the selection, they are two lists. It appears the default value for each is pointing to a font present on your system. Not much else to do there.
It would be nice if you could compare to the refactored site, and let me know if the refactored site fixed this with the language attributes present in the page html code:
Could you temporarily undo your fix, verify the problematic kanji (frame number), then open a new tab to test.koohii.com (the refactored site), and navigate there to the same page (same kanji), and let me know if it works there or if it's the same.
So these browsers ignore the language attributes in the page. So the work around would be to set the character encoding of the whole page to Japanese, which I assume is what the fix above is doing, but that doesn't seem like a proper fix implementation-wise, since the page is mostly english, and besides the character set is correctly encoded as "utf-8".
The next best solution would be to gather up the name of the most frequent fonts existing on various systems, especially on Linux OS'es, because when the font name is specified in the stylesheet for those kanji elements, the browser uses the correct font, irrelevant of the language attribute or even the encoding.
But then.. I have no idea why Opera didn't display the kanji properly for Daffydus seeing as he has the standard "MS Gothic" and "MS Mincho" fonts. Like I said, I give up for now. X_X
I looked around a little in the Opera forums and maybe this can give a little clue: http://my.opera.com/community/forums/to … ?id=192365 Not sure it helps, but it seems like Opera overruns changes in the font settings. I was thinking about making a new post at the opera forums, but I think the issue is too technical for me to get into... Maybe something for the adm?