Re: initdb problem

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Zhenbang Wei <zhenbang(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: initdb problem
Date: 2004-08-01 05:17:08
Message-ID: 200408010517.i715H8V25075@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


The big problem is that it didn't add an extra \ in the cases I
mentioned. There were other strings that looked like:

"XXX\XX"

where X is a high-bit character. Notice there is only one backslash.

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

Zhenbang Wei wrote:
> Some characters in Big5 encoding has a / on
> second byte and I think poEdit will add another / for me.
> Now I think I should use UTF-8 instead of Big5.
> I will send new files in minutes. Sorry for causing problems.
>
>
> On Sun, 1 Aug 2004 00:48:21 -0400 (EDT), Bruce Momjian
> <pgman(at)candle(dot)pha(dot)pa(dot)us> wrote:
> >
> > Ah, just the person I was looking for. I see in the initdb po file you
> > sent that the use of backslashes in the message string is causing some
> > of us problems.
> >
> > What are the rules for backslashes in translation files? I particularly
> > had problems with lines 199, 260, and 461 in the initdb po file because
> > you had things like:
> >
> > "XXX\\n"
> >
> > where XXX were high-bit characters. Was that correct? It caused us
> > problems because it interpreted \\ as a single backslash and then
> > complained because the message id and string had a different number of
> > newlines.
> >
> > ---------------------------------------------------------------------------
> >
> > Zhenbang Wei wrote:
> > > Thanks for importing these translations :-)
> >
> > [ Attachment, skipping... ]
> >
> > >
> > > ---------------------------(end of broadcast)---------------------------
> > > TIP 6: Have you searched our list archives?
> > >
> > > http://archives.postgresql.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
> >
>

--
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-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-08-01 05:23:42 TODO improvements
Previous Message Zhenbang Wei 2004-08-01 05:11:15 Re: initdb problem

Browse pgsql-patches by date

  From Date Subject
Next Message Zhenbang Wei 2004-08-01 05:31:08 Traditional Chinese translations in UTF-8 for 7.5
Previous Message Zhenbang Wei 2004-08-01 05:11:15 Re: initdb problem