452 |
$result1=ereg_replace('(.*)"(.*)"(.*)','\1',$value); |
$result1=ereg_replace('(.*)"(.*)"(.*)','\1',$value); |
453 |
$result2=ereg_replace('(.*)"(.*)"(.*)','\2',$value); |
$result2=ereg_replace('(.*)"(.*)"(.*)','\2',$value); |
454 |
$result3=ereg_replace('(.*)"(.*)"(.*)','\3',$value); |
$result3=ereg_replace('(.*)"(.*)"(.*)','\3',$value); |
455 |
$result2=ereg_replace('\\\\(.)','AI\1',$result2); |
$result2=ereg_replace('\\\\(.)','\1',$result2); |
|
$result2=ereg_replace('(.)','OI\1',$result2); |
|
456 |
$newvalue=$result1.'"'.$result2.'"'.$result3; |
$newvalue=$result1.'"'.$result2.'"'.$result3; |
457 |
return(mb_convert_encoding($newvalue, "EUC-JP", "auto")); |
return(mb_convert_encoding($newvalue, "EUC-JP", "auto")); |
458 |
} else { // there wasn't anything encoded, return the original string |
} else { // there wasn't anything encoded, return the original string |