Unicode character in Japanese printing, but only square

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

Guest

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
 
try:

<META http-equiv="Content-Type" content="text/html; charset=utf-8">

in the HTML <head> section
 
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...
======================
 
Andy said:
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,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top