Re: Charset WIN1252

From: Roland Volkmann <roland(dot)volkmann(at)gmx(dot)de>
To: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>, pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Charset WIN1252
Date: 2004-12-01 00:28:12
Message-ID: 41AD101C.8040300@gmx.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Hallo Alvaron

Alvaro Herrera schrieb am 30.11.2004 17:38:

>On Tue, Nov 30, 2004 at 02:05:31AM +0100, Roland Volkmann wrote:
>
>
>
>>this is the first time, I use CVS (TortoisCVS), so I hope the result is
>>what you were missing:
>>
>>
>
>You have to include the new files separately. And please send context
>diffs, not unified diffs.
>
>
sorry, but I can't find any option for changing patch style in
TortoiseCVS. And the patches of other developers look similar to me.

The new files were attached as ZIP-file to my mail on 02.11.2004. Please
find these files again attached to this mail:

Index:
src/backend/utils/mb/conversion_procs/utf8_and_win1252/utf8_and_win1252.c
Index: src/backend/utils/mb/conversion_procs/utf8_and_win1252/Makefile
Index: src/backend/utils/mb/Unicode/utf8_to_win1252.map
Index: src/backend/utils/mb/Unicode/win1252_to_utf8.map
===================================================================
++ new files

>Also there's a typo here:
>
>
>
thank you, you're right. And here is the corrected patch which shoult
replace the earlier faulty one:

Index: src/backend/utils/mb/encnames.c
===================================================================
RCS file:
Y:\CVS_Repositories\postgres.org/postgresql-8.0.0beta5/src/backend/utils/mb/encnames.c,v
retrieving revision 1.1
diff -u -r1.1 encnames.c
--- src/backend/utils/mb/encnames.c 30 Nov 2004 23:42:16 -0000 1.1
+++ src/backend/utils/mb/encnames.c 30 Nov 2004 23:56:27 -0000
@@ -194,6 +194,9 @@
"win1251", PG_WIN1251
}, /* alias for Windows-1251 */
{
+ "win1252", PG_WIN1252
+ }, /* alias for Windows-1252 */
+ {
"win1256", PG_WIN1256
}, /* alias for Windows-1256 */
{
@@ -221,6 +224,9 @@
"windows1251", PG_WIN1251
}, /* Windows-1251; Microsoft */
{
+ "windows1252", PG_WIN1252
+ }, /* Windows-1251; Microsoft */
+ {
"windows1256", PG_WIN1256
}, /* Windows-1256; Microsoft */
{
@@ -342,6 +348,9 @@
},
{
"WIN1250", PG_WIN1250
+ },
+ {
+ "WIN1252", PG_WIN1252
},
{
"SJIS", PG_SJIS

===================================================================

With best regards,

Roland

Attachment Content-Type Size
Makefile text/plain 475 bytes
utf8_and_win1252.c text/plain 1.9 KB
utf8_to_win1252.map text/plain 2.5 KB
win1252_to_utf8.map text/plain 2.6 KB

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Zhenbang Wei 2004-12-01 03:34:26 Update traditional chinese translations for 8.0
Previous Message Devrim GUNDUZ 2004-11-30 23:56:49 Updated Turkish Translations for PostgreSQL 8.0