Hi David,
I believe you're talking about the font family named "SimSun" - correct me
if I was wrong.
This post contains the two Chinese characters you mentioned. You'll need to
install Asian Languages Support on the system to have them displayed
correctly.
"SimSun" and "ËÎÌå" are just the same thing. You're seeing different names
because of different regional settings in Control Panel.
In Control Panel -> Regional and Language Options dialog, there is an
option for "Language for non-Unicode programs". When this option is set to
"Chinese (PRC)", the font family will be displayed as "ËÎÌå", when this
option is set to other languages that doesn't have appropriate character
set to display the name (like English), it uses "SimSun".
You may check this setting on the system which you have the Chinese version
of Word installed to verify this behavior.
Talking about programming in .NET, we can simply set the
Thread.CurrentUICulture to get corresponding Chinese/English names for the
same font:
FontFamily ff;
Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-us");
ff = new FontFamily("SimSun");
Console.WriteLine(ff.Name);
Thread.CurrentThread.CurrentUICulture = new CultureInfo("zh-cn");
ff = new FontFamily("SimSun");
Console.WriteLine(ff.Name);
Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-us");
ff = new FontFamily("ËÎÌå");
Console.WriteLine(ff.Name);
Thread.CurrentThread.CurrentUICulture = new CultureInfo("zh-cn");
ff = new FontFamily("ËÎÌå");
Console.WriteLine(ff.Name);
The output of the above code will be:
SimSun
ËÎÌå
SimSun
ËÎÌå
That means when programming, you can always use "SimSun" as the name (so
you don't need to learn how to type Chinese), and set the correct
CurrentUICulture to show the localized user friendly name at runtime.
Hope this helps. If you have any further questions regarding this issue,
please feel free to post here.
Regards,
Jie Wang (
[email protected], remove 'online.')
Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.
Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business days is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.