"End of statement expected." error at Japanese message

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I'm using Windows 2000, English version, Microsoft Visual Studio.Net 2003.
I compile a project developed for Japanese client, on which there are some
Japanese messages. I have error "End of statement expected." at the line of
Japanese message.

How to make Visual Studio.Net 2003 understand that Japanese message?

Thanks
Tran Hong Quang
 
IMO You should provide the message texts in resources instead of your code.

Marcus Heege
 
IMO You should provide the message texts in resources instead of your code.

100% agree, this is the right thing to do.

But if you have something with lots of hard-coded strings, you need to be
able to go ahead.

So an option is to set the system locales to Japanese.
Make sure is the system locale, not the user locale (will require a reboot):
http://www.mihai-nita.net/20050611a.shtml
 
Mihai N. said:
100% agree, this is the right thing to do.

But if you have something with lots of hard-coded strings, you need to be
able to go ahead.

So an option is to set the system locales to Japanese.
Make sure is the system locale, not the user locale (will require a
reboot):
http://www.mihai-nita.net/20050611a.shtml

Interesting. So VS.NET parses source code based on the system locale?
 
Interesting. So VS.NET parses source code based on the system locale?
If this solved the problem, then yes :-)
Unicode with BOM is ok for C# and VB.NET, but this is not ok for C++
(and this is about the C++ standard, not a MS problem)
 
Back
Top