From: Tatsuo Ishii Date: Sat, 11 Jun 2005 02:50:07 +0000 (+0000) Subject: Fix bug in MIC -> EUC_JP conversion. Per Atsushi Ogawa. X-Git-Url: http://waps.l3s.uni-hannover.de/gitweb/?a=commitdiff_plain;h=c54218619ac2f3e68d51af10d3793064a3af2a16;p=users%2Fbernd%2Fpostgres.git Fix bug in MIC -> EUC_JP conversion. Per Atsushi Ogawa. --- diff --git a/src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/euc_jp_and_sjis.c b/src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/euc_jp_and_sjis.c index fca3c0558f..21b95fd522 100644 --- a/src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/euc_jp_and_sjis.c +++ b/src/backend/utils/mb/conversion_procs/euc_jp_and_sjis/euc_jp_and_sjis.c @@ -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(); }