Everything2
Near Matches
Ignore Exact
Full Text
Everything2

How to read Japanese characters in E2

created by thbz

(thing) by thbz (2.8 mon) (print)   ?   (I like it!) 2 C!s Wed Apr 11 2001 at 10:31:41

This write-up will teach you how to view Japanese characters (kanji, kana) in E2, or anywhere else on the Web. If you're lucky, you will only need to read one paragraph. If you're not, you'll have to read the whole thing. This write-up may also help you for other languages.

Maybe you already have Japanese support

Try reading a write-up which contains Japanese characters, such as Building Blocks of Japanese Names or (if you want to play with encodings) Japanese Character Encoding Formats.

If the Japanese characters are displayed correctly, then select View->Character Set->Japanese (auto-select) in Netscape (that's View->Encoding->Japanese (auto-select) in Internet Explorer). If the characters are now ok, that's great. If not, proceed with Check that the Japanese fonts are installed.

Check that the Japanese fonts are installed

Under Windows, go to your C:\WINNT\fonts (or C:\WINDOWS\fonts, or something like that) directory, and look for one of the following popular Japanese font files in that directory:
    msmincho.ttf (Ms Mincho)
    msgothic.ttf (MS Gothic)
    uwjmg3.ttf   (from Union Way)

If one of these files exist, continue with Configuring your browser. If not, go to Installing Japanese fonts.

Under Unix/Linux, try the following command:
    xlsfonts | grep jis

Hopefully, it will print the names of Japanese fonts installed on your system. If it does print something, proceed with Configuring your browser. If not, I'm afraid you need to go to Installing Japanese fonts.

Configuring your browser

With Internet Explorer 5.5 (your mileage may vary with other versions), select Tools->Internet Options->Fonts, then "Japanese" in the "Language script" box. The dialog box below should let you select the Japanese fonts you have on your system.

With Netscape 4.7 (your mileage may vary with other versions), select Edit->Appearances/Fonts, then Japanese in the "Encoding" dialog box, and choose your preferred Japanese font as the variable and fixed width fonts.

With Emacs and XEmacs, it's a little more difficult. See the inline documentation, or the resources listed at the bottom of this write-up.

Installing Japanese fonts

Windows

Here are three popular Japanese fonts. If the URL are broken at the time of your reading, of if you don't want to use their installer programs, just enter the .ttf file names in Google, and chances are you'll find them in many places. In my opinion, MsGothic is the most readable on a computer screen, but others are more beautiful, so make your own choice.

msgothic.ttf             http://ftp.cc.monash.edu.au/pub/nihongo/ie3lpkja.exe
msmincho.ttf             http://ftp.cc.monash.edu.au/pub/nihongo/JpnSupp.exe
uwjmg3.ttf               http://www.unionway.com/uwjmg3.htm

Note that the installer for uwjmg3 installs the font in its own directory, so you will need to move the .ttf file to the standard C:\WINNT\fonts or C:\WINDOWS\fonts directory.

For your information, installing a font really means copying a .ttf file in the fonts\ directory. Then you can use the font immediately in your browser or your editor (Word).

Unix/Linux

First try installing them from your Unix or Linux distribution (I suppose that most Linux distributions have Japanese fonts nowadays). For example, have a look at the xfonts-intl-* packages if you are using Debian.

If it is not possible or you don't trust your Linux distribution installer program, you may download Japanese fonts directly from the Emacs Intlfonts package. This package can be found at http://metalab.unc.edu/pub/gnu/intlfonts. Go to the subdirectories and only fetch what you need, because the whole package is huge and unnecessary unless you speak all the languages in the world.


More information:

Craig Oda's excellent "Linux-nihongo" document on http://www.tlug.gr.jp/craigoda/writings/linux-nihongo/linux-nihongo.html.
My own document (in French) about Japanese and Linux (particularly Emacs's excellent international support) at http://www.thbz.org/japonais/chapitres/book1.html.


printable version
chaos

Building Blocks of Japanese Names Japanese Character Encoding Formats ERFC: Kanji Write-Ups KANJI: 2410 NICHI JITSU hi
kanji Using Unicode on E2 Japanese Japanese tongue twisters
Unicode Chinese the fifty sounds mojibake The campaign to have Jedi registered as a religion through the national census
Chinese characters kana axiom of infinity Japanese alphabet
Go ni itte wa go ni shitagae The Everything Census : 2003 Slime Forest Adventure Kaneko Misuzu
Imperial Rescript on Education KE The Everything Guide to Guitar Chords googlewhack
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Nodes your grandpa would have liked:
Things a new baby needs
Destruction of Syntax - Imagination without Strings - Words-in-Freedom
college athletics
Gone to Hell to fight the Devil
perpetuum mobile
Ringworld
Bread pudding
All you need is love
MDMA/Viagra cocktails
Carnal Harvest
Objectivism
Confession
Trail of Tears
New Writeups
fallensparks
George's Marvellous Medicine(thing)
Ctrl Y
cognitive dissonance(fiction)
SharQ
Gone Baby Gone(review)
halfWit
If I could, I'd title this "Freedom"(thing)
Roninspoon
Airline Hero(thing)
Ktistec
Why Women Are Always Cold(person)
doctor wilson
Drug policy reform(thing)
tejasa
Easy Raspberry Cheesecake(recipe)
Joysim
Drug policy reform(idea)
aneurin
Tyburn(place)
niruena
Boiling to death(idea)
artman2003
summer(thing)
doctor wilson
The Silver City and the Silent Sea(log)
Dreamvirus
The Silver City and the Silent Sea(poetry)
Aerobe
A nihilist's soulmate(poetry)
E2 is a by-product of the existence of The Everything Development Company