Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Internationalization / June 2005

Tip: Looking for answers? Try searching our database.

Japanese comment in English Visual Studio .Net 2003

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
EHuq - 07 Jun 2005 05:17 GMT
Hello,
I don't know this post is appropriate for this group or not.

I using english VS.NET2003 and my colleague using Japanese VS.NET2003. When
he writes comment in japanese in his PC, I can not see the japanese
comments(only the broken characters) in my PC. Is there any solution??

BR,
Michael (michka) Kaplan [MS] - 07 Jun 2005 12:19 GMT
Did he save the source file with UTF-8 or UTF-16 encoding? It sounds like he
did not; instead it sounds like he used the default system code page (which
in his case is Japanese and in yours is not).

Signature

MichKa [Microsoft]
NLS Collation/Locale/Keyboard Technical Lead
Globalization Infrastructure, Fonts, and Tools
Blog: http://blogs.msdn.com/michkap

This posting is provided "AS IS" with
no warranties, and confers no rights.

> Hello,
> I don't know this post is appropriate for this group or not.
[quoted text clipped - 5 lines]
>
> BR,
Norman Diamond - 08 Jun 2005 04:12 GMT
> I using english VS.NET2003 and my colleague using Japanese VS.NET2003.
> When he writes comment in japanese in his PC, I can not see the japanese
> comments(only the broken characters) in my PC. Is there any solution??

On US Windows XP SP2, I had to go into Control Panel - Regional Options and
set an option to extend support of advanced text services to all programs.
On US Windows 2003, this option is not available but isn't needed.  On
Japanese Windows systems this option isn't needed (whether or not it's
available).

On all Windows systems I have Japanese as the default language for
non-Unicode programs.  On Japanese Windows systems it's the default of
course, but on US Windows systems I had to set it.  This setting has no
serious side effects so I don't mind, though I do wonder why Visual Studio 6
and later, and Windows Explorer, seem to be non-Unicode programs (affected
by this option).

On all Windows systems I have Japanese as the option for Standards and
formats.  On Japanese Windows systems it's the default of course, but on US
Windows systems I had to set it.  This setting does have side effects,
causing other programs to display menus and help pages stuff in Japanese
even when I wanted them to stay in English.  I do not like the way some
operations of Visual Studio depend on this option instead of depending on
other more reasonable options for character encoding.

I don't remember how many of those options I needed for Visual Studio 6, how
many for 2003, and how many for 2005 beta 1.  You might not need all of
them.

In Visual Studio itself, there are options to select the fonts that will be
used for displaying its own windows, including displaying the contents of
source files.  You need fonts that include Japanese characters.
Michael (michka) Kaplan [MS] - 14 Jun 2005 15:19 GMT
Actually, for VS.Net, you can save C#/VB.Net sources files s UTF-8 or UTF-6,
and then have the comments work no matter what your system default is.

The user locale (standards and formats) has nothing to do with the situation
here -- it is the system locale (language for non-Unicode programs) that
controls things here.

Signature

MichKa [Microsoft]
NLS Collation/Locale/Keyboard Technical Lead
Globalization Infrastructure, Fonts, and Tools
Blog: http://blogs.msdn.com/michkap

This posting is provided "AS IS" with
no warranties, and confers no rights.

>> I using english VS.NET2003 and my colleague using Japanese VS.NET2003.
>> When he writes comment in japanese in his PC, I can not see the japanese
[quoted text clipped - 33 lines]
> used for displaying its own windows, including displaying the contents of
> source files.  You need fonts that include Japanese characters.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.