Re: MFC(VC6) Application Localization from French to Chinese(RPC)
- From: kewei <KeweiShang@xxxxxxxxx>
- Date: Sun, 25 May 2008 13:54:23 -0700 (PDT)
On May 21, 5:16 pm, "Tom Serface" <tom.nos...@xxxxxxxxxxxxx> wrote:
Are you using VC6 or 2005/2008? If you are using VC6 you must be sure to
have theChinesecode page loaded for the characters to work correctly.
I would suggest converting the program to Unicode. You are going to save
yourself a lot of trouble in the long run. If you are using 2005 you can
also open the RC file with notepad and resave it as Unicode and the VC
resource editor will maintain it in Unicode for you.
If you have to use non-Unicode you will have to make sure that you only edit
the .RC file when the correct code page is set (I.E. you have region
settings correct).
Tom
"kewei" <KeweiSh...@xxxxxxxxx> wrote in message
news:ab83a734-4579-4f8e-95ba-f7d56b1904dd@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I am now working for a company, my main job is to complete the
localization of the software intoChinese(RPC).
I am working in the French WindowsXP system. and I changed the Control
Panel -> region and language options -> Advanced Options -> language
for the non Unicode program intoChinese(RPC).
In the beginning, everything works well, for the resource file, I
insertChinesedialogs, menus, and stringtable. And theChinese
characters displaying very well.
However, while I build one project(let's say Proj1) and make the
output file as a .lib file(because some other applications need
this .lib file as an input file), somethings wired happened. I build
the Proj1 successfully, but when I tried to run the other applications
that will use this .lib file, the dialog(Chinese) which I have created
in Proj1 displayed with Garbled character(like ??).
So I am very confused about it.
Could someone tell me the reason or probably solutions?
Thanks in advance!
I am using VC6.
and I "have theChinesecode page loaded for the characters to work
correctly." by setting the control panel. I am quite sure I did this
step accurately. I even tried the application in Chinese OS.
Actually, the application i am in charge of in non-unicode, but
the .rc file is saved in unicode I believe.
Actually, as far as I know. of course, a .lib file can't not
contain .rc, but actually, the application add the .rc as an external
dependencies, so the application can use the .rc file and .lib, that's
what my company did and it was working well with other language, like
german, english, french.
The thing that is wired is that, even in the same dialog, some of the
static strings or buttons show in "??" or messy form, but some other
static string or buttons shows successfully in Chinese form.
It's in the same dialog...!
So I couldn't understand why.
.
- Follow-Ups:
- Re: MFC(VC6) Application Localization from French to Chinese(RPC)
- From: Mihai N.
- Re: MFC(VC6) Application Localization from French to Chinese(RPC)
- From: Tom Serface
- Re: MFC(VC6) Application Localization from French to Chinese(RPC)
- References:
- Prev by Date: Re: Add menu to dialog?
- Next by Date: Re: MFC(VC6) Application Localization from French to Chinese(RPC)
- Previous by thread: Re: MFC(VC6) Application Localization from French to Chinese(RPC)
- Next by thread: Re: MFC(VC6) Application Localization from French to Chinese(RPC)
- Index(es):