jsonencode php euc-kr to android UTF-8
php side
$arrReturn2['pay_name'] = iconv("EUC-KR", "UTF-8", $arrReturn2['pay_name']);
android side
paymentsListBean.setMethod(URLDecoder.decode(jsonObject.getString("pay_name"), "UTF-8"));
$arrReturn2['pay_name'] = iconv("EUC-KR", "UTF-8", $arrReturn2['pay_name']);
android side
paymentsListBean.setMethod(URLDecoder.decode(jsonObject.getString("pay_name"), "UTF-8"));
댓글