diff options
author | Tatsuo Ishii <ishii@postgresql.org> | 2002-07-18 05:07:30 +0000 |
---|---|---|
committer | Tatsuo Ishii <ishii@postgresql.org> | 2002-07-18 05:07:30 +0000 |
commit | 55fa0e6d2a08b91a87b7bf0c02e7584c4b94b72b (patch) | |
tree | 3ec1912da10a197d964d453c8305e3271c05b916 /src | |
parent | fb94c09ae4e858f5023ebe8576efc7a29b31c7ed (diff) | |
download | postgresql-55fa0e6d2a08b91a87b7bf0c02e7584c4b94b72b.tar.gz postgresql-55fa0e6d2a08b91a87b7bf0c02e7584c4b94b72b.zip |
Fix typo (PG_UNICODE -> PG_UTF8)
Diffstat (limited to 'src')
-rw-r--r-- | src/pl/tcl/pltcl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pl/tcl/pltcl.c b/src/pl/tcl/pltcl.c index f70751d23f6..2888f4d9aaa 100644 --- a/src/pl/tcl/pltcl.c +++ b/src/pl/tcl/pltcl.c @@ -31,7 +31,7 @@ * ENHANCEMENTS, OR MODIFICATIONS. * * 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 * 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 * 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 |