1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-05 09:19:17 +03:00

Fix typo (PG_UNICODE -> PG_UTF8)

This commit is contained in:
Tatsuo Ishii 2002-07-18 05:07:30 +00:00
parent fb94c09ae4
commit 55fa0e6d2a

View File

@ -31,7 +31,7 @@
* ENHANCEMENTS, OR MODIFICATIONS. * ENHANCEMENTS, OR MODIFICATIONS.
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/pl/tcl/pltcl.c,v 1.57 2002/07/18 04:16:07 ishii Exp $ * $Header: /cvsroot/pgsql/src/pl/tcl/pltcl.c,v 1.58 2002/07/18 05:07:30 ishii Exp $
* *
**********************************************************************/ **********************************************************************/
@ -68,13 +68,13 @@
static unsigned char * static unsigned char *
utf_u2e(unsigned char *src) utf_u2e(unsigned char *src)
{ {
return pg_do_encoding_conversion(src, strlen(src), PG_UNICODE, GetDatabaseEncoding()); return pg_do_encoding_conversion(src, strlen(src), PG_UTF8, GetDatabaseEncoding());
} }
static unsigned char * static unsigned char *
utf_e2u(unsigned char *src) utf_e2u(unsigned char *src)
{ {
return pg_do_encoding_conversion(src, strlen(src), GetDatabaseEncoding(), PG_UNICODE); return pg_do_encoding_conversion(src, strlen(src), GetDatabaseEncoding(), PG_UTF8);
} }
#define PLTCL_UTF #define PLTCL_UTF