Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b4cbd60

Browse files
committed
Fix bug in MIC -> EUC_JP conversion. Per Atsushi Ogawa.
1 parent e4c7619 commit b4cbd60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/euc_jp_and_sjis.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1994, Regents of the University of California
77
*
88
* IDENTIFICATION
9-
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/euc_jp_and_sjis.c,v 1.9 2004/12/31 22:01:53 pgsql Exp $
9+
* $PostgreSQL: pgsql/src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/euc_jp_and_sjis.c,v 1.10 2005/06/10 16:43:56 ishii Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -126,7 +126,7 @@ mic_to_euc_jp(PG_FUNCTION_ARGS)
126126
Assert(PG_GETARG_INT32(1) == PG_EUC_JP);
127127
Assert(len >= 0);
128128

129-
mic2sjis(src, dest, len);
129+
mic2euc_jp(src, dest, len);
130130

131131
PG_RETURN_VOID();
132132
}

0 commit comments

Comments
 (0)