Skip to content

Commit 55fa0e6

Browse files
committed
Fix typo (PG_UNICODE -> PG_UTF8)
1 parent fb94c09 commit 55fa0e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pl/tcl/pltcl.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
* ENHANCEMENTS, OR MODIFICATIONS.
3232
*
3333
* IDENTIFICATION
34-
* $Header: /cvsroot/pgsql/src/pl/tcl/pltcl.c,v 1.57 2002/07/18 04:16:07 ishii Exp $
34+
* $Header: /cvsroot/pgsql/src/pl/tcl/pltcl.c,v 1.58 2002/07/18 05:07:30 ishii Exp $
3535
*
3636
**********************************************************************/
3737

@@ -68,13 +68,13 @@
6868
static unsigned char *
6969
utf_u2e(unsigned char *src)
7070
{
71-
return pg_do_encoding_conversion(src, strlen(src), PG_UNICODE, GetDatabaseEncoding());
71+
return pg_do_encoding_conversion(src, strlen(src), PG_UTF8, GetDatabaseEncoding());
7272
}
7373

7474
static unsigned char *
7575
utf_e2u(unsigned char *src)
7676
{
77-
return pg_do_encoding_conversion(src, strlen(src), GetDatabaseEncoding(), PG_UNICODE);
77+
return pg_do_encoding_conversion(src, strlen(src), GetDatabaseEncoding(), PG_UTF8);
7878
}
7979

8080
#define PLTCL_UTF

0 commit comments

Comments
 (0)