User forums > Nightly builds

The 02 August 2008 build (5177) is out.

<< < (3/4) > >>

Loaden:

--- Quote from: Biplab on August 04, 2008, 05:25:54 pm ---
--- Quote from: Loaden on August 04, 2008, 04:30:47 pm ---Please look 'Screenshot.png' first:
in 1: the default encoding is 'Windows 936',
in 2: createdb.cpp include some chinese char, when i open it use CB,
in 3: CB open it use ISO-8895-1, so, i can't show chinese char.

--- End quote ---

Save your file in UTF-8 encoding. C::B can't detect Windows 936 encoding and it sets a fallback encoding for it.

--- End quote ---
It's can't compile use VC2003, because VC2003 can't support UTF-8 format.
But my project must support cross platform. In Linux, use GCC, and use VC2003 under Windows.
I muse use Windows 936 encoding to support chinese code.

and in windows OS, set default encoding to Windows 936, it work fine!
this problem only appear in linux.

Etienne:
Hello,

Thanks to continue making nightly builds!

I have two bug:

- This one started after the 5106svn version, when double clicking on a workspace, its tells a file is missing  (please see attached file)...(even with every plugin disabled), ( its works with cb5106)

- This one was from 5106svn to now, I can't say when its started: sometime CB show it is in Debug mode, but compile in Release, and so on ; a workaround is to change Debug/Release mode, twice, in the menu to set it correctly...

Thanks for all.

See you

Etienne de Foras


[attachment deleted by admin]

Loaden:

--- Quote from: Etienne on August 05, 2008, 10:01:37 am ---Hello,

Thanks to continue making nightly builds!

I have two bug:

- This one started after the 5106svn version, when double clicking on a workspace, its tells a file is missing  (please see attached file)...(even with every plugin disabled), ( its works with cb5106)

- This one was from 5106svn to now, I can't say when its started: sometime CB show it is in Debug mode, but compile in Release, and so on ; a workaround is to change Debug/Release mode, twice, in the menu to set it correctly...

Thanks for all.

See you

Etienne de Foras


--- End quote ---

I find this problem too.

thomas:

--- Quote from: Loaden on August 05, 2008, 05:37:40 am ---It's can't compile use VC2003, because VC2003 can't support UTF-8 format.
--- End quote ---
Well, use UTF-16 instead then.

Loaden:

--- Quote from: thomas on August 05, 2008, 11:20:21 am ---
--- Quote from: Loaden on August 05, 2008, 05:37:40 am ---It's can't compile use VC2003, because VC2003 can't support UTF-8 format.
--- End quote ---
Well, use UTF-16 instead then.

--- End quote ---

If i select UTF16-LE, i can't use _T() or _(). example:
--- Code: ---wxButton* pShow = new wxButton(this, ID_BTN_SHOW, _T("开始"));
--- End code ---
or:
--- Code: ---wxButton* pShow = new wxButton(this, ID_BTN_SHOW, _("开始"));
--- End code ---
show error info when compile:
--- Code: ---src\main.cpp|23|error C2001: newline in constant|
src\main.cpp|23|fatal error C1057: unexpected end of file in macro expansion|
||=== Build finished: 2 errors, 0 warnings ===|

--- End code ---

but if i changed this code to:
--- Code: ---wxButton* pShow = new wxButton(this, ID_BTN_SHOW, L"开始");
--- End code ---
it's compile success.

how to use _T() or _() ?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version