Re: Russian FAQ page charset problem

Lists: pgsql-docs
From: "Nikolay Samokhvalov" <samokhvalov(at)gmail(dot)com>
To: PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Russian FAQ page charset problem
Date: 2008-09-12 18:23:10
Message-ID: e431ff4c0809121123ia94520ehc16cfc529d6a5280@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs

Current page with FAQ in Russian
(http://www.postgresql.org/docs/faqs.FAQ_russian.html) has charset
problem: the text is in koi-8r, while HTML source has this line:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

It'd be great to fix it: either to change meta line or convert
contents to UTF8 (I personally would choose the latter).

--
Sincerely yours,
Nikolay Samokhvalov
Postgresmen LLC, http://postgresmen.ru


From: Виктор Вислобоков <corochoone(at)gmail(dot)com>
To: "Nikolay Samokhvalov" <samokhvalov(at)gmail(dot)com>
Cc: PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Russian FAQ page charset problem
Date: 2008-09-14 09:05:58
Message-ID: 1f60b6160809140205s3bbf9c20kb931275fff727381@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs

Nikolay, by history reasons, Russian FAQ translation come in KOI8-R encoding.
But, PostgreSQL site has utf-8.

2Bruce: I can convert Russian translation into utf-8 and correct HTML header.
What you think about it?

2008/9/12 Nikolay Samokhvalov <samokhvalov(at)gmail(dot)com>:
> Current page with FAQ in Russian
> (http://www.postgresql.org/docs/faqs.FAQ_russian.html) has charset
> problem: the text is in koi-8r, while HTML source has this line:
> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
>
> It'd be great to fix it: either to change meta line or convert
> contents to UTF8 (I personally would choose the latter).
>
> --
> Sincerely yours,
> Nikolay Samokhvalov
> Postgresmen LLC, http://postgresmen.ru
>
> --
> Sent via pgsql-docs mailing list (pgsql-docs(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-docs
>


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Nikolay Samokhvalov <samokhvalov(at)gmail(dot)com>
Cc: PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Russian FAQ page charset problem
Date: 2008-09-15 07:30:19
Message-ID: 48CE0F0B.4060600@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs

Nikolay Samokhvalov wrote:
> Current page with FAQ in Russian
> (http://www.postgresql.org/docs/faqs.FAQ_russian.html) has charset
> problem: the text is in koi-8r, while HTML source has this line:
> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
>
> It'd be great to fix it: either to change meta line or convert
> contents to UTF8 (I personally would choose the latter).

This was already discussed on the pgsql-www list recently, but there has
been no resolution on what to do yet.


From: "Nikolay Samokhvalov" <samokhvalov(at)gmail(dot)com>
To: "Peter Eisentraut" <peter_e(at)gmx(dot)net>
Cc: PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Russian FAQ page charset problem
Date: 2008-09-15 07:37:09
Message-ID: e431ff4c0809150037s25d0a070y9f6f39ff9fda8dab@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs

On Mon, Sep 15, 2008 at 11:30 AM, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
> This was already discussed on the pgsql-www list recently, but there has
> been no resolution on what to do yet.

What about using UTF8 for Russian text? Why not simply "iconv -f
koi8-r -t utf8 ..."?

--
Sincerely yours,
Nikolay Samokhvalov


From: "Dave Page" <dpage(at)pgadmin(dot)org>
To: "Nikolay Samokhvalov" <samokhvalov(at)gmail(dot)com>
Cc: "Peter Eisentraut" <peter_e(at)gmx(dot)net>, PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Russian FAQ page charset problem
Date: 2008-09-15 07:48:21
Message-ID: 937d27e10809150048v58483686v646e6db4a9335bf@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs

On Mon, Sep 15, 2008 at 8:37 AM, Nikolay Samokhvalov
<samokhvalov(at)gmail(dot)com> wrote:
> On Mon, Sep 15, 2008 at 11:30 AM, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
>> This was already discussed on the pgsql-www list recently, but there has
>> been no resolution on what to do yet.
>
> What about using UTF8 for Russian text? Why not simply "iconv -f
> koi8-r -t utf8 ..."?

I thought that was what Bruce was going to do. He has other priorities
at the moment though, so perhaps one of the the committers could
handle it.

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Nikolay Samokhvalov <samokhvalov(at)gmail(dot)com>, PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Russian FAQ page charset problem
Date: 2008-09-15 08:27:09
Message-ID: 48CE1C5D.8080206@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs

Dave Page wrote:
> On Mon, Sep 15, 2008 at 8:37 AM, Nikolay Samokhvalov
> <samokhvalov(at)gmail(dot)com> wrote:
>> On Mon, Sep 15, 2008 at 11:30 AM, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
>>> This was already discussed on the pgsql-www list recently, but there has
>>> been no resolution on what to do yet.
>> What about using UTF8 for Russian text? Why not simply "iconv -f
>> koi8-r -t utf8 ..."?
>
> I thought that was what Bruce was going to do. He has other priorities
> at the moment though, so perhaps one of the the committers could
> handle it.

We could do that, but it is also a question of what the author prefers
for editing. We don't require utf-8 in other places. And I don't feel
comfortable converting everything (FAQ or not) to utf-8, because that
loses information in some cases.


From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Nikolay Samokhvalov <samokhvalov(at)gmail(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Russian FAQ page charset problem
Date: 2008-09-15 08:41:08
Message-ID: 48CE1FA4.8040305@hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs

Dave Page wrote:
> On Mon, Sep 15, 2008 at 8:37 AM, Nikolay Samokhvalov
> <samokhvalov(at)gmail(dot)com> wrote:
>> On Mon, Sep 15, 2008 at 11:30 AM, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
>>> This was already discussed on the pgsql-www list recently, but there has
>>> been no resolution on what to do yet.
>> What about using UTF8 for Russian text? Why not simply "iconv -f
>> koi8-r -t utf8 ..."?
>
> I thought that was what Bruce was going to do. He has other priorities
> at the moment though, so perhaps one of the the committers could
> handle it.

Done.

I only touched the HTML one - seems the text one is already in latin
characters?

//Magnus


From: Виктор Вислобоков <corochoone(at)gmail(dot)com>
To:
Cc: PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Russian FAQ page charset problem
Date: 2008-09-15 09:24:16
Message-ID: 1f60b6160809150224s4ec7bb6cn34c6efdb7ddb81dc@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs

Hmm. At this time, everything all right.
But, How do I do at the next time after update? Would be I convert
Russian translation to utf-8 or leave it in KO8-R, before send it to
Bruce?

2008/9/15 Magnus Hagander <magnus(at)hagander(dot)net>:
> Dave Page wrote:
>> On Mon, Sep 15, 2008 at 8:37 AM, Nikolay Samokhvalov
>> <samokhvalov(at)gmail(dot)com> wrote:
>>> On Mon, Sep 15, 2008 at 11:30 AM, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
>>>> This was already discussed on the pgsql-www list recently, but there has
>>>> been no resolution on what to do yet.
>>> What about using UTF8 for Russian text? Why not simply "iconv -f
>>> koi8-r -t utf8 ..."?
>>
>> I thought that was what Bruce was going to do. He has other priorities
>> at the moment though, so perhaps one of the the committers could
>> handle it.
>
> Done.
>
> I only touched the HTML one - seems the text one is already in latin
> characters?
>
> //Magnus
>
>
> --
> Sent via pgsql-docs mailing list (pgsql-docs(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-docs
>


From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Виктор Вислобоков <corochoone(at)gmail(dot)com>
Cc: PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Russian FAQ page charset problem
Date: 2008-09-15 11:40:38
Message-ID: 48CE49B6.20409@hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs

Виктор Вислобоков wrote:
> Hmm. At this time, everything all right.
> But, How do I do at the next time after update? Would be I convert
> Russian translation to utf-8 or leave it in KO8-R, before send it to
> Bruce?

Please do all your work in utf-8, and sen utf-8 only patches to Bruce.

The best way to get started is probably to grab the just converted file
from CVS and work off that one.

//Magnus


From: Виктор Вислобоков <corochoone(at)gmail(dot)com>
To: "Magnus Hagander" <magnus(at)hagander(dot)net>
Cc: PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Russian FAQ page charset problem
Date: 2008-09-15 12:52:28
Message-ID: 1f60b6160809150552x1786e259r8e3238530959af12@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs

Okay :)

2008/9/15 Magnus Hagander <magnus(at)hagander(dot)net>:
> Виктор Вислобоков wrote:
>> Hmm. At this time, everything all right.
>> But, How do I do at the next time after update? Would be I convert
>> Russian translation to utf-8 or leave it in KO8-R, before send it to
>> Bruce?
>
> Please do all your work in utf-8, and sen utf-8 only patches to Bruce.
>
> The best way to get started is probably to grab the just converted file
> from CVS and work off that one.
>
> //Magnus
>
>


From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Nikolay Samokhvalov <samokhvalov(at)gmail(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Russian FAQ page charset problem
Date: 2008-09-23 18:01:41
Message-ID: 200809231801.m8NI1fk25513@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs

Dave Page wrote:
> On Mon, Sep 15, 2008 at 8:37 AM, Nikolay Samokhvalov
> <samokhvalov(at)gmail(dot)com> wrote:
> > On Mon, Sep 15, 2008 at 11:30 AM, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
> >> This was already discussed on the pgsql-www list recently, but there has
> >> been no resolution on what to do yet.
> >
> > What about using UTF8 for Russian text? Why not simply "iconv -f
> > koi8-r -t utf8 ..."?
>
> I thought that was what Bruce was going to do. He has other priorities
> at the moment though, so perhaps one of the the committers could
> handle it.

No, the conversion to a UTF8 header is done by the web infrastructure;
the file in CVS is in the native Russian encoding, koi8-r, and I don't
know how to change that.

However, it now seems all the FAQs are in ASCII or UTF8 so I think we
are OK going into the future.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +


From: "Dave Page" <dpage(at)pgadmin(dot)org>
To: "Bruce Momjian" <bruce(at)momjian(dot)us>
Cc: "Nikolay Samokhvalov" <samokhvalov(at)gmail(dot)com>, "Peter Eisentraut" <peter_e(at)gmx(dot)net>, PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Russian FAQ page charset problem
Date: 2008-09-23 18:04:30
Message-ID: 937d27e10809231104l65817ff8ucc54e4c264eaa6f9@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs

On Tue, Sep 23, 2008 at 7:01 PM, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
> Dave Page wrote:
>> On Mon, Sep 15, 2008 at 8:37 AM, Nikolay Samokhvalov
>> <samokhvalov(at)gmail(dot)com> wrote:
>> > On Mon, Sep 15, 2008 at 11:30 AM, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
>> >> This was already discussed on the pgsql-www list recently, but there has
>> >> been no resolution on what to do yet.
>> >
>> > What about using UTF8 for Russian text? Why not simply "iconv -f
>> > koi8-r -t utf8 ..."?
>>
>> I thought that was what Bruce was going to do. He has other priorities
>> at the moment though, so perhaps one of the the committers could
>> handle it.
>
> No, the conversion to a UTF8 header is done by the web infrastructure;
> the file in CVS is in the native Russian encoding, koi8-r, and I don't
> know how to change that.

That's the iconv -f bit suggested above, that I thought you were doing.

> However, it now seems all the FAQs are in ASCII or UTF8 so I think we
> are OK going into the future.

Yup, Magnus converted them.

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com


From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Nikolay Samokhvalov <samokhvalov(at)gmail(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Russian FAQ page charset problem
Date: 2008-09-23 18:05:28
Message-ID: 200809231805.m8NI5SO26294@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: Postg토토 사이트SQL : Postg토토 사이트SQL 메일 링리스트 : 2008-09-23 이후 PGSQL-DOCS 18:05

Dave Page wrote:
> On Tue, Sep 23, 2008 at 7:01 PM, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
> > Dave Page wrote:
> >> On Mon, Sep 15, 2008 at 8:37 AM, Nikolay Samokhvalov
> >> <samokhvalov(at)gmail(dot)com> wrote:
> >> > On Mon, Sep 15, 2008 at 11:30 AM, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
> >> >> This was already discussed on the pgsql-www list recently, but there has
> >> >> been no resolution on what to do yet.
> >> >
> >> > What about using UTF8 for Russian text? Why not simply "iconv -f
> >> > koi8-r -t utf8 ..."?
> >>
> >> I thought that was what Bruce was going to do. He has other priorities
> >> at the moment though, so perhaps one of the the committers could
> >> handle it.
> >
> > No, the conversion to a UTF8 header is done by the web infrastructure;
> > the file in CVS is in the native Russian encoding, koi8-r, and I don't
> > know how to change that.
>
> That's the iconv -f bit suggested above, that I thought you were doing.

Nope, never did that, and I don't have the proper locales on my sever.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +


From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Dave Page <dpage(at)pgadmin(dot)org>, Nikolay Samokhvalov <samokhvalov(at)gmail(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Russian FAQ page charset problem
Date: 2008-09-23 19:31:12
Message-ID: 48D94400.709@hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs

Bruce Momjian wrote:
> Dave Page wrote:
>> On Tue, Sep 23, 2008 at 7:01 PM, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
>>> Dave Page wrote:
>>>> On Mon, Sep 15, 2008 at 8:37 AM, Nikolay Samokhvalov
>>>> <samokhvalov(at)gmail(dot)com> wrote:
>>>>> On Mon, Sep 15, 2008 at 11:30 AM, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
>>>>>> This was already discussed on the pgsql-www list recently, but there has
>>>>>> been no resolution on what to do yet.
>>>>> What about using UTF8 for Russian text? Why not simply "iconv -f
>>>>> koi8-r -t utf8 ..."?
>>>> I thought that was what Bruce was going to do. He has other priorities
>>>> at the moment though, so perhaps one of the the committers could
>>>> handle it.
>>> No, the conversion to a UTF8 header is done by the web infrastructure;
>>> the file in CVS is in the native Russian encoding, koi8-r, and I don't
>>> know how to change that.
>> That's the iconv -f bit suggested above, that I thought you were doing.
>
> Nope, never did that, and I don't have the proper locales on my sever.

That's not locale, that's encoding. And it's independent of what locales
you have - AFAIK as long as you have iconv, you should be good.

For next time, that is - since it's already fixed this time :-)

//Magnus