From: Tatsuo Ishii Date: Sat, 11 Jun 2005 02:46:16 +0000 (+0000) Subject: Fix bug in MIC -> EUC_JP conversion. Per Atsushi Ogawa. X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=ce25509132aa067c86d1c8dc359921deceeabb95;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 bd5b2a9439..2b9c3906e6 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(); }