How to view Japanese characters on the Linux virtual terminal

11 January 2009 at 11:26 pm | In Japanese, Linux, Ubuntu | 1 Comment
Tags: , , , , , ,

Although it’s no problem to view Japanese/Unicode characters on an X11 console like xterm or Konsole, it can be difficult to view them in the Linux virtual terminal. That’s where JFBTERM comes into view. It provides Japanese and other special character output using the framebuffer.

Ubuntu provides a prebuilt package in the repositories; to install it execute

sudo apt-get install jfbterm

It is also helpful to install a good font for it to use:

sudo apt-get install unifont

Now, provided that you have a working framebuffer, you can start it by running jfbterm.

If you receive an error about /dev/fb0 not present, you need to enable a framebuffer. In Ubuntu, modify the current kernel line in /boot/grub/menu.lst to include vesafb. For example, my section in menu.lst reads something like:

title Ubuntu 8.10, kernel 2.6.27-9
kernel /boot/vmlinuz-2.6.27-9 root=/dev/hda1 ro vesafb:mtrr,ywrap vga=0x318
initrd /boot/initrd.img-2.6.27-9
quiet

After making the modification, reboot the system and try running jfbterm again.

Once you have jfbterm running, you can run commands like usual, and now should be able to see Japanese characters properly.

1 Comment »

RSS feed for comments on this post. TrackBack URI

  1. [...] you must use a program like jfbterm for the Japanese characters to display successfully. Check out my guide to setting up Japanese character support on the console for more [...]


Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.