Re: New Chinese FAQ

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Weiping <laser(at)qmail(dot)zhengmai(dot)net(dot)cn>
Cc: Magnus Hagander <mha(at)sollentuna(dot)net>, Qingqing Zhou <zhouqq(at)cs(dot)toronto(dot)edu>, PostgreSQL www <pgsql-www(at)postgresql(dot)org>
Subject: Re: New Chinese FAQ
Date: 2005-05-16 19:29:21
Message-ID: 200505161929.j4GJTLA12542@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

Weiping wrote:
> ok, I'll fix the html tag problem ASAP.
>

I fixed the tag problem and it now verifies fine:

http://validator.w3.org/check?uri=http%3A%2F%2Fwwwmaster.postgresql.org%2Fdocs%2Ffaqs.FAQ_chinese.html&charset=gb2312+%28Chinese%2C+simplified%29

The only problem reported is that it says the encoding is incorrect for
a large number of lines. The above encoding forces it to be gb2312. If
I make it Unicode I get even more failures. However, I remember iconv
doing the conversion to UTF8 just fine, so maybe something is wrong with
how we are validating it.

Anyway, the HTML is OK so it seems we just have encoding issue now.
The current version in CVS is all fixed up so please submit updates
based on that version. Thanks.

---------------------------------------------------------------------------

> regards laser
>
> >>>>>>OK, here's where we get stuck. I CC'ed the original
> >>>>>>
> >>>>>>
> >>two Chinese
> >>
> >>
> >>>>>>posters so let's hope they can address it.
> >>>>>>
> >>>>>>
> >>>>>Should be CHARSET="gb2312"? I have no idea of "gb_2312" or
> >>>>>
> >>>>>
> >>>>"gb_2312-80".
> >>>>
> >>>>I have changed the character set specification in CVS to
> >>>>match your suggestion. Magnus, want to try it again?
> >>>>
> >>>>
> >>>Can you convert it to UTF8 with iconv? (just to see that there are no
> >>>bad chars in it) Until that works, there is no point in
> >>>
> >>>
> >>trying it on the
> >>
> >>
> >>>website. (Once it works in yuor iconv, we can test it in the one on
> >>>wwwmaster, but I assume they'd be the same)
> >>>
> >>>
> >>I did:
> >>
> >> $ iconv -f gb2312 -t utf-8 FAQ_chinese.html >x
> >> $
> >>
> >>and I got nothing reported (no errors), and file 'x' looks OK.
> >>
> >>
> >
> >Encoding looks good, but there is a lot of missing HTML tags in it :-(
> >
> >http://validator.w3.org/check?verbose=1&uri=http%3A//wwwmaster.postgresq
> >l.org/docs/faqs.FAQ_chinese.html
> >
> >A quick look shows a lot of missing </P> tags.
> >
> >(You can always preview the output at
> >http://wwwmaster.postgresql.org/docs/faqs.FAQ_chinese.html, but remember
> >it's delayed (the website pulls once per hour, but it pulls from anoncvs
> >so there is the additional delay there)
> >
> >//Magnus
> >
> >
> >
> >
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>

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

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Brian Kilpatrick 2005-05-16 19:45:39 event submit error
Previous Message Weiping 2005-05-16 03:52:03 Re: New Chinese FAQ