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 4 1748
IMO You should provide the message texts in resources instead of your code.
Marcus Heege
"Tran Hong Quang" <Tr***********@discussions.microsoft.com> wrote in message
news:59**********************************@microsof t.com... 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.
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 Nita [Microsoft MVP, Windows - SDK] http://www.mihai-nita.net
------------------------------------------
Replace _year_ with _ to get the real email
"Mihai N." <nm**************@yahoo.com> wrote in message
news:Xn*******************@207.46.248.16... 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 Nita [Microsoft MVP, Windows - SDK] http://www.mihai-nita.net ------------------------------------------ Replace _year_ with _ to get the real email
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)
--
Mihai Nita [Microsoft MVP, Windows - SDK] http://www.mihai-nita.net
------------------------------------------
Replace _year_ with _ to get the real email This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: tedsuzman |
last post by:
-----
def f():
ret = 2
exec "ret += 10"
return ret
print f()
-----
The above prints '12', as expected. However,
|
by: Najm Hashmi |
last post by:
Hi all ,
I am trying to create a store procedure and I get the following error:
SQL0104N An unexpected token "END-OF-STATEMENT" was found
following "END". Expected tokens may include: "JOIN...
|
by: sara |
last post by:
Hi
I'm pretty new to Access here (using Access 2000), and appreciate the
help and instruction.
I gave myself 2.5 hours to research online and help and try to get this
one, and I am not getting...
|
by: charliewest |
last post by:
I've implemented the USING statement to ensure that my newly created sql
connection closes when my method is finished using it. The USING statement is
wrapped in try/catch error handling statement....
|
by: .Net Sports |
last post by:
The following error message is baffling me :
Compiler Error Message: CS1026: ) expected
<asp:Literal id="lblAmount_Attempted" runat="server" text='<%#
DataBinder.Eval(Container.DataItem, _...
|
by: eman1000 |
last post by:
I was recently looking at the prototype library
(http://prototype.conio.net/) and I noticed the author used the
following syntax:
Object.extend(MyObj.prototype, {
my_meth1: function(){},...
|
by: atksamy |
last post by:
HI,
I am using the following query in vba and i get a compile error end of statement expected.
sqltext = "SELECT .utyp, .uart, COUNT(.uart) AS CountOfuart," & _
...
|
by: erictheone |
last post by:
Ok so what I'm trying to do is create a trans location cipher. For those among us that don't know alot about cryptography it is a method for jumbling up letters to disguise linguistic...
|
by: jahanas |
last post by:
Private Sub txtBox1.txtLife_Enter(ByVal frmQuote) Handles txtLife
Me.txtQuote.Text = "I like life, it's something to do."
End Sub
Private Sub txtBox2.txtFuture_Enter(ByVal...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |