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

index 64f4828dd5e966dbc36f22dae2ff1385c7e14d36..7e33b606428d8025249dce7bef7fdb3a2215bccd 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();
 }