nanogui: Japanese Conversion(Shift JIS to UTF 8)


Previous by date: 13 Nov 2007 01:08:35 +0000 Re: Regarding JIS Support.., Greg Haerr
Next by date: 13 Nov 2007 01:08:35 +0000 Re: How can I connect a usb mouse to nano-X if I have already programmed ADS7846MOUSE?, Greg Haerr
Previous in thread: 13 Nov 2007 01:08:35 +0000 Japanese Conversion(Shift JIS to UTF 8), Prashanth Dwarakanath
Next in thread:

Subject: Re: [nanogui] Japanese Conversion(Shift JIS to UTF 8)
From: "Greg Haerr" ####@####.####
Date: 13 Nov 2007 01:08:35 +0000
Message-Id: <015c01c82591$a04b6380$6401a8c0@winXP>

> The problem is that the given Japanese text in the text file is in Shift 
> JIS format. How do I convert this to UTF 8 format?


There is a function within Microwindows that is used by the font
subsystem for converting between input formats.  Take a look
at engine/devfont.c::GdConvertEncoding(), this should do what
you want.  You'll likely have to copy this out of that file into some
user code of your own, since its normally only linked with the server.

Regards,

Greg


Previous by date: 13 Nov 2007 01:08:35 +0000 Re: Regarding JIS Support.., Greg Haerr
Next by date: 13 Nov 2007 01:08:35 +0000 Re: How can I connect a usb mouse to nano-X if I have already programmed ADS7846MOUSE?, Greg Haerr
Previous in thread: 13 Nov 2007 01:08:35 +0000 Japanese Conversion(Shift JIS to UTF 8), Prashanth Dwarakanath
Next in thread:


Powered by ezmlm-browse 0.20.