Unicode support in shell
ahmad hassan
guideveloper123 at hotmail.com
Wed Oct 26 11:54:12 UTC 2005
Hi,
I have finally found out that Suse linux 9.1 atleast displays the file i
have in japanese correctly on the shell but i think it is using X server
functionality. I did that by setting the locale to en_JP.shjis and relogin.
As i told u i have my own built mini linux distro with busybox so what are
the things needed to display CJK correctly. I think i need some sort of
terminal emulator or i can do without it. I have framebuffer and vga mode
support both in my kernel. How to do that i seriously need your help if you
can help.
Do i need some fonts. I have checked the option for locale support as well
into busybox now.
Regards,
Ahmad
>From: Rob Landley <rob at landley.net>
>To: "ahmad hassan" <guideveloper123 at hotmail.com>
>Subject: Re: Unicode support in shell
>Date: Sun, 23 Oct 2005 23:38:03 -0500
>
>On Sunday 23 October 2005 03:06, ahmad hassan wrote:
> > Hello,
> >
> > I am using ash shell and have an ncurses application running over it. So
>i
> > think its kernel mode tty i am using.
>
>Standard vga mode, or frame buffer?
>
> > I have also added the unicode pages for CJK and UTF8 from kernel.
>
>In the filesystem menu? That's for things like samba support, not for the
>video display.
>
> > Now what do i have to do to make the unicode
> > characters like japanese characters get displayed.
>
>In text mode, you need a japanese font loaded, that's one thing. Does your
>bios have a japanese font? (man consolechars)
>
> > I have the japanese string as ANSI file
>
>Now there's a trick. ANSI doesn't include japanese characters. Do you
>mean
>UTF8?
>
> > and i have to read the string resources
>
>By "read the string resources" do you mean something other than load the
>raw
>data from disk?
>
> > and just display them in appropriate charset.
>
>Ok, so you are setting the character set. How do you specify "the
>appropriate
>charset"?
>
> > One thing more just by adding kernel
> > mode support for western languagues i had them displayed appropriately.
>
>Anything that uses the 26 character latin alphabet (plus a few diacritical
>marks) is already supported by the standard IBM vga font circa 1981.
>
>Did you get a "hello world" style program to print out japanese characters?
>
> > Best Regards,
> > Ahmad.
>
>Rob
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
More information about the busybox
mailing list