[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rendering foreign characters in apache?



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


Reply to: