Re: New Chinese FAQ - Mailing list pgsql-www

From Magnus Hagander
Subject Re: New Chinese FAQ
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE6C747E@algol.sollentuna.se
Whole thread Raw
In response to New Chinese FAQ  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: New Chinese FAQ  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-www
> > > I have added a Chinese FAQ to CVS.  Would you make changes so it
> > > shows up on the web site?  Thanks.
> >
> > You have committed a plaintext version as FAQ_chinese.html,
> it seems.
> > You'll need to change that to actual HTML or remove it before the
> > website will show it.
>
> Thanks, fixed.

Not quite ;-) Though it's closer.

It has windows linebreaks (^M), not sure if that affects things though.

Also, our script is a bit picky about the meta tags.
<META content="text/html; charset=gb_2312-80" http-equiv="Content-Type">
has to become
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=gb_2312-80">

(order is important. Case is not.)

.. but fixing that brings up another problem. The installation on
wwwmaster doesn't support gb_2312-80. It's the standard GNU iconv on
freebsd (AFAIK), it needs to be one of the charsets supported by it.
(The scripts converts it to UTF-8 for presentation inside our framework)

(iconv -l should bring it up, if you need it I can send a list of
available encodings)

//Magnus


pgsql-www by date:

Previous
From: Robert Bernier
Date:
Subject: Re: [PATCHES] Where is Translation of "FARSI" FAQ?
Next
From: Bruce Momjian
Date:
Subject: Re: New Chinese FAQ