On 27.09.2016 13:30, Vladimir Gorpenko wrote:
Yes, it works.
Operations were carried out on T server on which there is no chroot.
I commented out the operators calling iconv and made these corrections. GB2312 fulfilled normally.
It seems mb_check_encoding returns false.
I uncommented iconv and was convinced that iconv normally works both with GB18030, and with ISO-2022-KR.
Whether it is necessary also to add a line: 'GBK' => 'GB18030', ?
It might be, indeed. Could you provide samples that fail without the patch for both GB2312 and ISO-2022-KR, so I could investigate more?