VC++ projects on Japanese OS not compile on English OS
-
I have one VC++ projects which was build on VS2003 on japanese windows XP OS, but when i compile same program on VS2003 English XP,i have found syntax error related to ; { }. My code contains some japanese characters as string. Is it necessary to compile project on japanese OS only? Thanks Atul
-
I have one VC++ projects which was build on VS2003 on japanese windows XP OS, but when i compile same program on VS2003 English XP,i have found syntax error related to ; { }. My code contains some japanese characters as string. Is it necessary to compile project on japanese OS only? Thanks Atul
It shouldn't matter which OS you are compiling on. It is probably an issue with code pages. You may need to save the source file in UTF-8 format before you compile. If this still has problems, can you post a code sample and the errors so we can see what is happening.
-
I have one VC++ projects which was build on VS2003 on japanese windows XP OS, but when i compile same program on VS2003 English XP,i have found syntax error related to ; { }. My code contains some japanese characters as string. Is it necessary to compile project on japanese OS only? Thanks Atul
am 2009 wrote:
,i have found syntax error related to ; { }.
We cannot guess what these errors might be, please show your code and the related messages.
am 2009 wrote:
My code contains some japanese characters as string.
This should not be a problem as long as you have the Japanese language pack installed.
The best things in life are not things.
-
I have one VC++ projects which was build on VS2003 on japanese windows XP OS, but when i compile same program on VS2003 English XP,i have found syntax error related to ; { }. My code contains some japanese characters as string. Is it necessary to compile project on japanese OS only? Thanks Atul
Have a look at this article http://msdn.microsoft.com/en-us/library/b6ewb9fy.aspx
modified on Tuesday, May 10, 2011 4:56 AM
-
Have a look at this article http://msdn.microsoft.com/en-us/library/b6ewb9fy.aspx
modified on Tuesday, May 10, 2011 4:56 AM
-
I have one VC++ projects which was build on VS2003 on japanese windows XP OS, but when i compile same program on VS2003 English XP,i have found syntax error related to ; { }. My code contains some japanese characters as string. Is it necessary to compile project on japanese OS only? Thanks Atul
The safest thing to do is have only ASCII in your source code, and use escape sequences (like
\x1234
) for characters outside of the ASCII range.--Mike-- Dunder-Mifflin, this is Pam.