]> granicus.if.org Git - postgresql/commitdiff
Fix typo (PG_UNICODE -> PG_UTF8)
authorTatsuo Ishii <ishii@postgresql.org>
Thu, 18 Jul 2002 05:07:30 +0000 (05:07 +0000)
committerTatsuo Ishii <ishii@postgresql.org>
Thu, 18 Jul 2002 05:07:30 +0000 (05:07 +0000)
src/pl/tcl/pltcl.c

index f70751d23f6797bad937056bea43b788a5f271a8..2888f4d9aaae88e28c9da4b9e3a7405b947c29cb 100644 (file)
@@ -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 $
  *
  **********************************************************************/
 
 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