Fix bug in MIC -> EUC_JP conversion. Per Atsushi Ogawa.
authorTatsuo Ishii <[email protected]>
Sat, 11 Jun 2005 02:46:16 +0000 (02:46 +0000)
committerTatsuo Ishii <[email protected]>
Sat, 11 Jun 2005 02:46:16 +0000 (02:46 +0000)
src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/euc_jp_and_sjis.c

index bd5b2a94398c223d86b55c89d021248ca240094e..2b9c3906e6fb224ed0680e35bf587fb775e6ff69 100644 (file)
@@ -126,7 +126,7 @@ mic_to_euc_jp(PG_FUNCTION_ARGS)
        Assert(PG_GETARG_INT32(1) == PG_EUC_JP);
        Assert(len >= 0);
 
-       mic2sjis(src, dest, len);
+       mic2euc_jp(src, dest, len);
 
        PG_RETURN_VOID();
 }