Fix bug in MIC -> EUC_JP conversion. Per Atsushi Ogawa.
authorTatsuo Ishii <ishii@postgresql.org>
Sat, 11 Jun 2005 02:50:07 +0000 (02:50 +0000)
committerTatsuo Ishii <ishii@postgresql.org>
Sat, 11 Jun 2005 02:50:07 +0000 (02:50 +0000)
src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/euc_jp_and_sjis.c

index fca3c0558fee0c012b54c528352662e8aedcf4d6..21b95fd52233be5d3408e3cf1ee23f040f30c1aa 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();
 }