Skip site navigation (1) Skip section navigation (2)

patch of Encoding problem

From: "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
To: <pgsql-patches(at)postgresql(dot)org>
Subject: patch of Encoding problem
Date: 2006-11-07 15:04:46
Message-ID: 00a201c7027e$105306c0$a543040a@wiseknot.local (view raw or flat)
Thread:
Lists: pgsql-patches
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: FormatMessage_patch
Description: application/octet-stream (1.6 KB)

Responses

pgsql-patches by date

Next:From: Bruno Wolff IIIDate: 2006-11-08 01:11:35
Subject: Re: Bug in WAL backup documentation
Previous:From: Peter HarrisDate: 2006-11-07 14:31:57
Subject: BUG #2741: Double-free on error in ECPGconnect

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group