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

Re: Cyrillic to UNICODE conversion

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: vitus(at)ice(dot)ru
Cc: pgsql-patches(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Cyrillic to UNICODE conversion
Date: 2001-04-29 07:29:52
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackerspgsql-patches
Thanks for the fixes. I have committed your patches and they should
appear in 7.1.1.

BTW, I have not added cp1251.txt  cp866.txt  koi8-r.txt, since they
come from and are not permitted to re-distribute.
Tatsuo Ishii

From: Victor Wagner <vitus(at)ice(dot)ru>
Subject: [PATCHES] Cyrillic to UNICODE conversion
Date: Thu, 26 Apr 2001 20:51:25 +0400 (MSD)
Message-ID: <Pine(dot)LNX(dot)4(dot)30(dot)0104262041500(dot)9539-101000(at)party(dot)ice(dot)ru>

> Despite of advertized support of Unicode to other charset conversion,
> PostgreSQL-7.1 reports that Conversion of UNICODE to KOI8 is not
> supported. Same for WIN, ALT and other charsets.
> As I found out, it was simply forgotten to add these charsets to list
> of 8-bit charsets which should be converted. May be becouse their maps
> are stored in another directory on (see VENDORS/MicroSoft
> for cp1251 and cp866 maps, and somewhere else for KOI8-R.TXT. At least all
> those maps are included in the catdoc distribution)
> Attached patch fixes this problem. It adds script
> into src/backend/utils/mb/Unicode directory. Mapping of the PostgreSQL
> charset names to filenames (as they appear in catdoc distribution, i.e.
> lowercased) is hardcoded into script. It is almost exact copy of
> UCS_to_iso script, with only file and constant names changed.
> Generated maps are included in the patch, as they are included in the
> source tarball, and maps are omitted, becouse they are removed by
> make distclean
> file src/backend/mb/conv.c is modified
> to include new maps and provide appropriate conversion functions
> -- 
> Victor Wagner			vitus(at)ice(dot)ru
> Chief Technical Officer		Office:7-(095)-748-53-88
> Communiware.Net 		Home: 7-(095)-135-46-61

In response to


pgsql-hackers by date

Next:From: Andrew McMillanDate: 2001-04-29 07:44:27
Subject: Re: SAPDB Open Souce
Previous:From: will trillichDate: 2001-04-29 06:09:33
Subject: Re: Re: crypt(table.field) ?

pgsql-patches by date

Next:From: Victor WagnerDate: 2001-04-29 09:15:07
Subject: Re: Cyrillic to UNICODE conversion
Previous:From: Bruce MomjianDate: 2001-04-28 22:45:39
Subject: Re: Re: [HACKERS] Support for %TYPE in CREATE FUNCTION

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