Hi all,
escapeshellargs()/fgetcsv() have multibyte char support via mblen() which
depends on LC_TYPE, but addslashes() don't take into count MBCS at all.
addslashes() could behave like escapeshellargs(). Current addslashes()
is not usable with SJIS/BIG5/etc.
Depending on locale is problematic. Is it safe with multi threaded SAPI?
Using mbstring feature and introduce encoding php.ini setting might be
better.
Any comment making addslashes() locale aware? and/or current
escapeshellargs()/fgetcsv() implementation?
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net