List Info

Thread: Unicode and Source Encoding




Unicode and Source Encoding
user name
2006-09-01 18:01:54

Hello,

nuttavutpor wrote:
> Hi,
> I evaluate dialogblocks 3.06 UNICODE and tried to create new project.
> -I want to use my local language (window-874, TIS-620, ISO-8859-11) if
> I use ISO-8859-11 dialogblocks give an error messagebox "Cannot
> convert from the char set 'iso-8859-11'!, I also tried utf-8 but with
> no luck, my text has convert to garbage symbols in vs2003 and in
> dialogblocks sometimes it seem that only way to solve my problem is
> edit all text in vs2003 IDE and resave in system encoding again (set
> project settings in dialogblocks to <system encoding&gt; is not work for
> me).
>
Sorry about this; I don't know why this is happening but perhaps you can
send me a sample project in an archive, and I'll try to debug it.
Meanwhile, the recommended (if somewhat tedious) way to put non-English
characters in a source file is to use wxWidgets' message catalogs, only
putting ASCII text in your source and translating it to the target
language in the .po file. Alternatively, XRC files have no trouble with
encodings such as UTF-8, so you could use XRC.
> -When I generate project file for vc7.1 it can't open in vs2003, it
> work only when create project file for vc6.0.
&gt;
If you set the "Compiler version&quot; to 8 in *each* configuration, it ought
to work.
>; -In compiler configurations each project which use unicode (eg. VC++
> Project Debug Unicode) working path, output path, exe name, obj file,
> ... not work. It still like the default settings that dialogblocks
> provided but in non-unicode settings it work fine.
>;
Possibly you forgot to do it for all configurations?
> -In C++ Code Generation Settings "Extract strings to separate include
> file" if enabled, dialogblocks just extract some text, it not extract
> button caption to this file.
>;
Hm, I thought it did, I'll have to check.

Regards,

Julian

__._,_.___
.

__,_._,___
Unicode and Source Encoding
user name
2006-09-01 19:37:17

Thanks for fast reply :}
Here: http://www.sendspace.com/file/rjp1o1
is test project in DialogBlocks use iso-8859-11, I set compiler
version to vc7.1 and generate project file, and set working directory
to bin in debug unicode configuration. You'll see that you can't save
DB Project file and can't save source file it will pop up error msg
box.

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )