Thread: patch of Encoding problem

patch of Encoding problem

From
"Hiroshi Saito"
Date:
Hi.

I think this problem to be complex....
http://archives.postgresql.org/pgsql-hackers/2006-11/msg00042.php

FormatMessage of windows cannot consider the encoding of the database.
However, I should try the solution now. It is necessary to clear the problem.

Multi character-code exists together in message and log. It doesn't consider
the data base encoding that the user intended....

The user in multi-byte country can try this.
http://inet.winpg.jp/~saito/pg_bug/MessageCheck.c

That is, it is likely to become it in this manner.(Japanese)
http://inet.winpg.jp/~saito/pg_bug/FormatMessage998.png

Therefore, I hope for treatment that replaces these messages with English
that is neutrality.

Regards,
Hiroshi Saito

Attachment

Re: patch of Encoding problem

From
Bruce Momjian
Date:
Your patch has been added to the PostgreSQL unapplied patches list at:

    http://momjian.postgresql.org/cgi-bin/pgpatches

It will be applied as soon as one of the PostgreSQL committers reviews
and approves it.

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


Hiroshi Saito wrote:
> Hi.
>
> I think this problem to be complex....
> http://archives.postgresql.org/pgsql-hackers/2006-11/msg00042.php
>
> FormatMessage of windows cannot consider the encoding of the database.
> However, I should try the solution now. It is necessary to clear the problem.
>
> Multi character-code exists together in message and log. It doesn't consider
> the data base encoding that the user intended....
>
> The user in multi-byte country can try this.
> http://inet.winpg.jp/~saito/pg_bug/MessageCheck.c
>
> That is, it is likely to become it in this manner.(Japanese)
> http://inet.winpg.jp/~saito/pg_bug/FormatMessage998.png
>
> Therefore, I hope for treatment that replaces these messages with English
> that is neutrality.
>
> Regards,
> Hiroshi Saito
[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>        subscribe-nomail command to majordomo@postgresql.org so that your
>        message can get through to the mailing list cleanly

--
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

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

Re: patch of Encoding problem

From
Bruce Momjian
Date:
Sorry I missed this for 8.2.0.  Applied to 8.2.X and CVS HEAD.

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

Hiroshi Saito wrote:
> Hi.
>
> I think this problem to be complex....
> http://archives.postgresql.org/pgsql-hackers/2006-11/msg00042.php
>
> FormatMessage of windows cannot consider the encoding of the database.
> However, I should try the solution now. It is necessary to clear the problem.
>
> Multi character-code exists together in message and log. It doesn't consider
> the data base encoding that the user intended....
>
> The user in multi-byte country can try this.
> http://inet.winpg.jp/~saito/pg_bug/MessageCheck.c
>
> That is, it is likely to become it in this manner.(Japanese)
> http://inet.winpg.jp/~saito/pg_bug/FormatMessage998.png
>
> Therefore, I hope for treatment that replaces these messages with English
> that is neutrality.
>
> Regards,
> Hiroshi Saito
[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>        subscribe-nomail command to majordomo@postgresql.org so that your
>        message can get through to the mailing list cleanly

--
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

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