Hello, I am trying to print a unicode character that's in Japanese. In my
ASP.NET app (C#) I just set a char to that unicode character and use a
response.write(). The char prints, but it is just a square.
I set the culture of the .aspx page to japanese, and even though my browser
already prints asian characters, I added the Japanese to it also. My web
config has the utf-8 line in it. What should I do?
Thanks,
Spencer 4 4218
try:
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
in the HTML <head> section
"Spencer H. Prue" <Sp**********@discussions.microsoft.com> wrote in message
news:33**********************************@microsof t.com... Hello, I am trying to print a unicode character that's in Japanese. In my ASP.NET app (C#) I just set a char to that unicode character and use a response.write(). The char prints, but it is just a square.
I set the culture of the .aspx page to japanese, and even though my browser already prints asian characters, I added the Japanese to it also. My web config has the utf-8 line in it. What should I do?
Thanks,
Spencer
You must install language support for Japanese.
Go to Control Panel, select "Regional and Language Options",
and select the "Languages" tab.
Add the Japanese language pack.
Juan T. Llibre
ASP.NET MVP http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================
"Spencer H. Prue" <Sp**********@discussions.microsoft.com> wrote in message
news:33**********************************@microsof t.com... Hello, I am trying to print a unicode character that's in Japanese. In my ASP.NET app (C#) I just set a char to that unicode character and use a response.write(). The char prints, but it is just a square.
I set the culture of the .aspx page to japanese, and even though my browser already prints asian characters, I added the Japanese to it also. My web config has the utf-8 line in it. What should I do?
Thanks,
Spencer
Andy Fish wrote: try:
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
in the HTML <head> section
That's not necessary unless you're dealing with a browser that's coming
right from the Dark Ages. ASP.NET produces a nice
Content-Type: text/html; charset=utf-8
header.
Cheers,
-- http://www.joergjooss.de
mailto:ne********@joergjooss.de
Spencer,
did you try the tip I gave you ?
Juan T. Llibre
ASP.NET MVP http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================
"Spencer H. Prue" <Sp**********@discussions.microsoft.com> wrote in message
news:33**********************************@microsof t.com... Hello, I am trying to print a unicode character that's in Japanese. In my ASP.NET app (C#) I just set a char to that unicode character and use a response.write(). The char prints, but it is just a square.
I set the culture of the .aspx page to japanese, and even though my browser already prints asian characters, I added the Japanese to it also. My web config has the utf-8 line in it. What should I do?
Thanks,
Spencer This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Avnish |
last post by:
Hi,
I am looking for some form of validation for all the alphanumeric
characters in the entire unicode range e.g. the validation should also
accept japanese characters but should restrict...
|
by: Nancy |
last post by:
I recently completed a web page, "Browser Tests of Entities in 2004".
http://www.santagata.us/characters/CharacterEntities.html
It shows those characters that work in all of the version 5.2+...
|
by: zahidal |
last post by:
hello,
i am facing a problem with a db2 database created with utf-8
character set. My db2 server is running on windows 2000 server, client
is on another machine that is also running windows 2000...
|
by: Dennis Gearon |
last post by:
This is what has to be eventually done:(as sybase, and probably others do it)
http://www.ianywhere.com/whitepapers/unicode.html
I'm not sure how that will affect LIKE and REGEX.
...
|
by: apprentice |
last post by:
Hello,
I'm writing an class library that I imagine people from different countries
might be interested in using, so I'm considering what needs to be provided
to support foreign languages,...
|
by: =?Utf-8?B?R2Vvcmdl?= |
last post by:
Hello everyone,
Wide character and multi-byte character are two popular encoding schemes on
Windows. And wide character is using unicode encoding scheme. But each time I
feel confused when...
|
by: 7stud |
last post by:
Based on this example and the error:
-----
u_str = u"abc\u9999"
print u_str
UnicodeEncodeError: 'ascii' codec can't encode character u'\u9999' in
position 3: ordinal not in range(128)
------
|
by: mario |
last post by:
I have checks in code, to ensure a decode/encode cycle returns the
original string.
Given no UnicodeErrors, are there any cases for the following not to
be True?
unicode(s, enc).encode(enc)...
|
by: David |
last post by:
Hi list.
I've never used unicode in a Python script before, but I need to now.
I'm not sure where to start. I'm hoping that a kind soul can help me
out here.
My current (almost non-existant)...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
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:
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: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| | |