Re: New Chinese FAQ

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Magnus Hagander <mha(at)sollentuna(dot)net>
Cc: PostgreSQL www <pgsql-www(at)postgresql(dot)org>, zhouqq(at)cs(dot)toronto(dot)edu, laser(at)qmail(dot)zhengmai(dot)net(dot)cn
Subject: Re: New Chinese FAQ
Date: 2005-05-11 15:02:10
Message-ID: 200505111502.j4BF2Av28495@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-www by date

  From Date Subject
Next Message Magnus Hagander 2005-05-11 15:23:38 Re: New Chinese FAQ
Previous Message Magnus Hagander 2005-05-11 14:43:55 Re: New Chinese FAQ