rendering foreign characters in apache?

2011-01-07 Thread Zachary Uram
Running apache2 on Debian testing. What do I need to install/configure
to get Chinese or Japanese text to render in apache?
I cut/pasted some text from a RTF document and when I load the
document via http://server/document.html it is a bunch of gibberish
and the foreign characters (in this case Japanese) is not rendered. I
even added:

?xml version=1.0 encoding=UTF-8?
meta http-equiv=Content-Type content=text/html; charset=utf-8 /

to the HTML file but this made no difference.

Zach

 http://www.fidei.org 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktinz1gp6vz4aortqfz8wzsdyz2pvuvepycn2s...@mail.gmail.com



Re: rendering foreign characters in apache?

2011-01-07 Thread Doug

On 01/07/2011 03:51 AM, Zachary Uram wrote:

Running apache2 on Debian testing. What do I need to install/configure
to get Chinese or Japanese text to render in apache?
I cut/pasted some text from a RTF document and when I load the
document via http://server/document.html it is a bunch of gibberish
and the foreign characters (in this case Japanese) is not rendered. I
even added:

?xml version=1.0 encoding=UTF-8?
meta http-equiv=Content-Type content=text/html; charset=utf-8 /

to the HTML file but this made no difference.

Zach

  http://www.fidei.org


Can you do the trick with left-ctrl+alt+u and then add a 4 character hex 
Unicode from the list, which

I believe includes Japanese? You'll have to Google for the Unicode list.

That's the only way I know to get _real foreign_ foreign languages--it 
will do Greek and Arabic and
Hebrew, and I think it will do Chinese and Japanese, and maybe even 
Korean. You might have to

do some sort of setup first.

--doug


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4d26dc3f.90...@optonline.net



Re: rendering foreign characters in apache?

2011-01-07 Thread Juha Tuuna
On 7.1.2011 10:51, Zachary Uram wrote:
 Running apache2 on Debian testing. What do I need to install/configure
 to get Chinese or Japanese text to render in apache?
 I cut/pasted some text from a RTF document and when I load the
 document via http://server/document.html it is a bunch of gibberish
 and the foreign characters (in this case Japanese) is not rendered. I
 even added:
 
 ?xml version=1.0 encoding=UTF-8?
 meta http-equiv=Content-Type content=text/html; charset=utf-8 /
 
 to the HTML file but this made no difference.
 
 Zach

Apache itself does not render any text, it just outputs text to your
browser. You have to define the used character set in HTML and make sure your
browser can use the desired font. If you don't have chinese or japanese fonts
installed in your system, yuo cannot see them.

-- 
Juha Tuuna


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d26dbdc.5060...@iki.fi



Re: rendering foreign characters in apache?

2011-01-07 Thread Camaleón
On Fri, 07 Jan 2011 03:51:58 -0500, Zachary Uram wrote:

 Running apache2 on Debian testing. What do I need to install/configure
 to get Chinese or Japanese text to render in apache? I cut/pasted some
 text from a RTF document and when I load the document via
 http://server/document.html it is a bunch of gibberish and the foreign
 characters (in this case Japanese) is not rendered. I even added:
 
 ?xml version=1.0 encoding=UTF-8? meta http-equiv=Content-Type
 content=text/html; charset=utf-8 /
 
 to the HTML file but this made no difference.

Before blaming you apache2, make a quick test with external sites:

http://www.yahoo.co.jp/
http://www.yahoo.cn/?loop=true

Do they render fine? If no, you need to install some japanese or chinese 
fonts on the client side ;-)

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.01.07.11.47...@gmail.com



Re: rendering foreign characters in apache?

2011-01-07 Thread Ricardo Ramírez
Hi, take a look to this file:
 /etc/apache2/conf.d/charset

By default have commented the line *AddDefaultCharset UTF-8*
uncomment that line and reload apache, maybe help you

Regards.

2011/1/7 Camaleón noela...@gmail.com

 On Fri, 07 Jan 2011 03:51:58 -0500, Zachary Uram wrote:

  Running apache2 on Debian testing. What do I need to install/configure
  to get Chinese or Japanese text to render in apache? I cut/pasted some
  text from a RTF document and when I load the document via
  http://server/document.html it is a bunch of gibberish and the foreign
  characters (in this case Japanese) is not rendered. I even added:
 
  ?xml version=1.0 encoding=UTF-8? meta http-equiv=Content-Type
  content=text/html; charset=utf-8 /
 
  to the HTML file but this made no difference.

 Before blaming you apache2, make a quick test with external sites:

 http://www.yahoo.co.jp/
 http://www.yahoo.cn/?loop=true

 Do they render fine? If no, you need to install some japanese or chinese
 fonts on the client side ;-)

 Greetings,

 --
 Camaleón


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: http://lists.debian.org/pan.2011.01.07.11.47...@gmail.com