Re: FAQ : principle of use and availability of UTF-16.

From: brendan_murray@lotus.com
Date: Mon Jun 19 2000 - 07:45:09 EDT


"Prof. K.C.Mahapatra" <krishnam@dte.vsnl.net.in> wrote:
> Most of the software developers today are using MS Windows 98 with a ...
You're in trouple: the Unicode support in Win98 is not good. They should
upgrade to Windows 2000.

> 1. Where to get the UTF-16 for download, preferably as a freeware ?
It's an encoding: you can't download it. If you mean you want to get a
programming library to allow you to support it, you can try a number of
possible solutions:
   If you're using Windows, you can use the Unicode support in Visual C++.
   If you want cross-platform support, use the standard C++ library wstring
   (also available, although comparitively poorly documented, in Visual
   C++).
   If you want cross-platform support, using an open-source solution, use
   ICU (http://oss.softeware.ibm.com/icu).

> 2. How to use it ? A systematic stewise procedure may be given in any
language, in addition to English (as the keyboard and the o.s. are ment for
ASCII (English characters)).
The keyboard is meant to input data, and is not specifically targetted at
English/ASCII. To input e.g. Tamil, you need to install a Tamil keyboard
(only available on Win2000), and use the Wide versions of the Windows API's
(GetMessageW/TranslateMessageW), which will return the Unicode value of the
key pressed. If you use the default versions of these API's, you'll get a
"?" returned by all keys. Windows 2000 provides a pretty complete set of
keyboards for the Indic languages, although I don't know which layouts
they're based on. For more information on Unicode and Windows, search the
MSDN.

One area that could accelerate any Unicode-enabling you may be planning is
the use of the Uniscribe API's - again, they're pretty well documented on
the MSDN.

B=



This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:21:04 EDT