Re: Resource File does save WideChar ?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Jochen Kalmbach (nospam-Jochen.Kalmbach_at_holzma.de)
Date: 10/23/04


Date: Sat, 23 Oct 2004 05:18:57 -0700

Hi Polaris,

> I'm testing with a small windows program using VC7.1. I have inserted
> a new string table and set the language to "Chinese (PRC)". I also
> entered some Chinese characters in the string table using IME. But the
> string table shows those Chinese chars as "?" What should I do so that
> the string table stores the Chinese chars?

You should read:

Writing Win32 Multilingual User Interface Applications
http://www.microsoft.com/globaldev/handson/dev/muiapp.mspx

STRINGTABLE Resource
http://msdn.microsoft.com/library/en-
us/tools/tools/stringtable_resource.asp

It seems that the VS2003 does not recognize Unicode resource-files.
In the documentation you will see that unicode-chars should be escaped with
\xnnnn.
But I tried to save the rc-file with UTF-8 and it seems that the VS2003 can
read it...

-- 
Greetings
  Jochen
 
   My blog about Win32 and .NET
   http://blog.kalmbachnet.de/


Relevant Pages