public inbox for [email protected]  
help / color / mirror / Atom feed
Russian FAQ page charset problem
14+ messages / 6 participants
[nested] [flat]

* Russian FAQ page charset problem
@ 2008-09-12 18:23  Nikolay Samokhvalov <[email protected]>
  0 siblings, 2 replies; 14+ messages in thread

From: Nikolay Samokhvalov @ 2008-09-12 18:23 UTC (permalink / raw)
  To: 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



^ permalink  raw  reply  [nested|flat] 14+ messages in thread

* Re: Russian FAQ page charset problem
@ 2008-09-14 09:05  =?KOI8-R?B?98nL1M/SIPfJ08zPws/Lz9c=?= <[email protected]>
  parent: Nikolay Samokhvalov <[email protected]>
  1 sibling, 0 replies; 14+ messages in thread

From: =?KOI8-R?B?98nL1M/SIPfJ08zPws/Lz9c=?= @ 2008-09-14 09:05 UTC (permalink / raw)
  To: Nikolay Samokhvalov <[email protected]>; +Cc: 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 <[email protected]>:
> 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 ([email protected])
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-docs
>



^ permalink  raw  reply  [nested|flat] 14+ messages in thread

* Re: Russian FAQ page charset problem
@ 2008-09-15 07:30  Peter Eisentraut <[email protected]>
  parent: Nikolay Samokhvalov <[email protected]>
  1 sibling, 1 reply; 14+ messages in thread

From: Peter Eisentraut @ 2008-09-15 07:30 UTC (permalink / raw)
  To: Nikolay Samokhvalov <[email protected]>; +Cc: 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.




^ permalink  raw  reply  [nested|flat] 14+ messages in thread

* Re: Russian FAQ page charset problem
@ 2008-09-15 07:37  Nikolay Samokhvalov <[email protected]>
  parent: Peter Eisentraut <[email protected]>
  0 siblings, 1 reply; 14+ messages in thread

From: Nikolay Samokhvalov @ 2008-09-15 07:37 UTC (permalink / raw)
  To: Peter Eisentraut <[email protected]>; +Cc: pgsql-docs

On Mon, Sep 15, 2008 at 11:30 AM, Peter Eisentraut <[email protected]> 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



^ permalink  raw  reply  [nested|flat] 14+ messages in thread

* Re: Russian FAQ page charset problem
@ 2008-09-15 07:48  Dave Page <[email protected]>
  parent: Nikolay Samokhvalov <[email protected]>
  0 siblings, 3 replies; 14+ messages in thread

From: Dave Page @ 2008-09-15 07:48 UTC (permalink / raw)
  To: Nikolay Samokhvalov <[email protected]>; +Cc: Peter Eisentraut <[email protected]>; pgsql-docs

On Mon, Sep 15, 2008 at 8:37 AM, Nikolay Samokhvalov
<[email protected]> wrote:
> On Mon, Sep 15, 2008 at 11:30 AM, Peter Eisentraut <[email protected]> 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



^ permalink  raw  reply  [nested|flat] 14+ messages in thread

* Re: Russian FAQ page charset problem
@ 2008-09-15 08:27  Peter Eisentraut <[email protected]>
  parent: Dave Page <[email protected]>
  2 siblings, 0 replies; 14+ messages in thread

From: Peter Eisentraut @ 2008-09-15 08:27 UTC (permalink / raw)
  To: Dave Page <[email protected]>; +Cc: Nikolay Samokhvalov <[email protected]>; pgsql-docs

Dave Page wrote:
> On Mon, Sep 15, 2008 at 8:37 AM, Nikolay Samokhvalov
> <[email protected]> wrote:
>> On Mon, Sep 15, 2008 at 11:30 AM, Peter Eisentraut <[email protected]> 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.




^ permalink  raw  reply  [nested|flat] 14+ messages in thread

* Re: Russian FAQ page charset problem
@ 2008-09-15 08:41  Magnus Hagander <[email protected]>
  parent: Dave Page <[email protected]>
  2 siblings, 1 reply; 14+ messages in thread

From: Magnus Hagander @ 2008-09-15 08:41 UTC (permalink / raw)
  To: Dave Page <[email protected]>; +Cc: Nikolay Samokhvalov <[email protected]>; Peter Eisentraut <[email protected]>; pgsql-docs

Dave Page wrote:
> On Mon, Sep 15, 2008 at 8:37 AM, Nikolay Samokhvalov
> <[email protected]> wrote:
>> On Mon, Sep 15, 2008 at 11:30 AM, Peter Eisentraut <[email protected]> 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




^ permalink  raw  reply  [nested|flat] 14+ messages in thread

* Re: Russian FAQ page charset problem
@ 2008-09-15 09:24  =?KOI8-R?B?98nL1M/SIPfJ08zPws/Lz9c=?= <[email protected]>
  parent: Magnus Hagander <[email protected]>
  0 siblings, 1 reply; 14+ messages in thread

From: =?KOI8-R?B?98nL1M/SIPfJ08zPws/Lz9c=?= @ 2008-09-15 09:24 UTC (permalink / raw)
  To: ; +Cc: 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 <[email protected]>:
> Dave Page wrote:
>> On Mon, Sep 15, 2008 at 8:37 AM, Nikolay Samokhvalov
>> <[email protected]> wrote:
>>> On Mon, Sep 15, 2008 at 11:30 AM, Peter Eisentraut <[email protected]> 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 ([email protected])
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-docs
>



^ permalink  raw  reply  [nested|flat] 14+ messages in thread

* Re: Russian FAQ page charset problem
@ 2008-09-15 11:40  Magnus Hagander <[email protected]>
  parent: =?KOI8-R?B?98nL1M/SIPfJ08zPws/Lz9c=?= <[email protected]>
  0 siblings, 1 reply; 14+ messages in thread

From: Magnus Hagander @ 2008-09-15 11:40 UTC (permalink / raw)
  To: Виктор Вислобоков <[email protected]>; +Cc: 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




^ permalink  raw  reply  [nested|flat] 14+ messages in thread

* Re: Russian FAQ page charset problem
@ 2008-09-15 12:52  =?KOI8-R?B?98nL1M/SIPfJ08zPws/Lz9c=?= <[email protected]>
  parent: Magnus Hagander <[email protected]>
  0 siblings, 0 replies; 14+ messages in thread

From: =?KOI8-R?B?98nL1M/SIPfJ08zPws/Lz9c=?= @ 2008-09-15 12:52 UTC (permalink / raw)
  To: Magnus Hagander <[email protected]>; +Cc: pgsql-docs

Okay :)

2008/9/15 Magnus Hagander <[email protected]>:
> Виктор Вислобоков 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
>
>


^ permalink  raw  reply  [nested|flat] 14+ messages in thread

* Re: Russian FAQ page charset problem
@ 2008-09-23 18:01  Bruce Momjian <[email protected]>
  parent: Dave Page <[email protected]>
  2 siblings, 1 reply; 14+ messages in thread

From: Bruce Momjian @ 2008-09-23 18:01 UTC (permalink / raw)
  To: Dave Page <[email protected]>; +Cc: Nikolay Samokhvalov <[email protected]>; Peter Eisentraut <[email protected]>; pgsql-docs

Dave Page wrote:
> On Mon, Sep 15, 2008 at 8:37 AM, Nikolay Samokhvalov
> <[email protected]> wrote:
> > On Mon, Sep 15, 2008 at 11:30 AM, Peter Eisentraut <[email protected]> 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  <[email protected]>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

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



^ permalink  raw  reply  [nested|flat] 14+ messages in thread

* Re: Russian FAQ page charset problem
@ 2008-09-23 18:04  Dave Page <[email protected]>
  parent: Bruce Momjian <[email protected]>
  0 siblings, 1 reply; 14+ messages in thread

From: Dave Page @ 2008-09-23 18:04 UTC (permalink / raw)
  To: Bruce Momjian <[email protected]>; +Cc: Nikolay Samokhvalov <[email protected]>; Peter Eisentraut <[email protected]>; pgsql-docs

On Tue, Sep 23, 2008 at 7:01 PM, Bruce Momjian <[email protected]> wrote:
> Dave Page wrote:
>> On Mon, Sep 15, 2008 at 8:37 AM, Nikolay Samokhvalov
>> <[email protected]> wrote:
>> > On Mon, Sep 15, 2008 at 11:30 AM, Peter Eisentraut <[email protected]> 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



^ permalink  raw  reply  [nested|flat] 14+ messages in thread

* Re: Russian FAQ page charset problem
@ 2008-09-23 18:05  Bruce Momjian <[email protected]>
  parent: Dave Page <[email protected]>
  0 siblings, 1 reply; 14+ messages in thread

From: Bruce Momjian @ 2008-09-23 18:05 UTC (permalink / raw)
  To: Dave Page <[email protected]>; +Cc: Nikolay Samokhvalov <[email protected]>; Peter Eisentraut <[email protected]>; pgsql-docs

Dave Page wrote:
> On Tue, Sep 23, 2008 at 7:01 PM, Bruce Momjian <[email protected]> wrote:
> > Dave Page wrote:
> >> On Mon, Sep 15, 2008 at 8:37 AM, Nikolay Samokhvalov
> >> <[email protected]> wrote:
> >> > On Mon, Sep 15, 2008 at 11:30 AM, Peter Eisentraut <[email protected]> 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  <[email protected]>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

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



^ permalink  raw  reply  [nested|flat] 14+ messages in thread

* Re: Russian FAQ page charset problem
@ 2008-09-23 19:31  Magnus Hagander <[email protected]>
  parent: Bruce Momjian <[email protected]>
  0 siblings, 0 replies; 14+ messages in thread

From: Magnus Hagander @ 2008-09-23 19:31 UTC (permalink / raw)
  To: Bruce Momjian <[email protected]>; +Cc: Dave Page <[email protected]>; Nikolay Samokhvalov <[email protected]>; Peter Eisentraut <[email protected]>; pgsql-docs

Bruce Momjian wrote:
> Dave Page wrote:
>> On Tue, Sep 23, 2008 at 7:01 PM, Bruce Momjian <[email protected]> wrote:
>>> Dave Page wrote:
>>>> On Mon, Sep 15, 2008 at 8:37 AM, Nikolay Samokhvalov
>>>> <[email protected]> wrote:
>>>>> On Mon, Sep 15, 2008 at 11:30 AM, Peter Eisentraut <[email protected]> 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




^ permalink  raw  reply  [nested|flat] 14+ messages in thread


end of thread, other threads:[~2008-09-23 19:31 UTC | newest]

Thread overview: 14+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-09-12 18:23 Russian FAQ page charset problem Nikolay Samokhvalov <[email protected]>
2008-09-14 09:05 ` =?KOI8-R?B?98nL1M/SIPfJ08zPws/Lz9c=?= <[email protected]>
2008-09-15 07:30 ` Peter Eisentraut <[email protected]>
2008-09-15 07:37   ` Nikolay Samokhvalov <[email protected]>
2008-09-15 07:48     ` Dave Page <[email protected]>
2008-09-15 08:27       ` Peter Eisentraut <[email protected]>
2008-09-15 08:41       ` Magnus Hagander <[email protected]>
2008-09-15 09:24         ` =?KOI8-R?B?98nL1M/SIPfJ08zPws/Lz9c=?= <[email protected]>
2008-09-15 11:40           ` Magnus Hagander <[email protected]>
2008-09-15 12:52             ` =?KOI8-R?B?98nL1M/SIPfJ08zPws/Lz9c=?= <[email protected]>
2008-09-23 18:01       ` Bruce Momjian <[email protected]>
2008-09-23 18:04         ` Dave Page <[email protected]>
2008-09-23 18:05           ` Bruce Momjian <[email protected]>
2008-09-23 19:31             ` Magnus Hagander <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox