Re: New Chinese FAQ - Mailing list pgsql-www

From Bruce Momjian
Subject Re: New Chinese FAQ
Date
Msg-id 200505111502.j4BF2Av28495@candle.pha.pa.us
Whole thread Raw
In response to Re: New Chinese FAQ  ("Magnus Hagander" <mha@sollentuna.net>)
List pgsql-www
Magnus Hagander wrote:
> > > > 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.)

OK, above changes made.

> .. 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)

Here's what I see on our FreeBSD server:

    $ iconv -l|grep  -i 2312
    CHINESE GB_2312-80 ISO-IR-58 CSISO58GB231280
    CN-GB EUC-CN EUCCN GB2312 CSGB2312
    HZ HZ-GB-2312

I see "GB2312". What does the "-80" mean in "gb_2312-80"?  Can we just
remove the "-80"?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-www by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: New Chinese FAQ
Next
From: "Magnus Hagander"
Date:
Subject: Re: New Chinese FAQ