On Aug 30, 2005, at 10:30 AM, Rasmus Lerdorf wrote:
Also, I see the following 6 failed test cases on my Linux box:

-Bug #16069 [ext/iconv/tests/bug16069.phpt]

According to the last two comments in that bug report, glibc iconv() does not support CP932 and this test should be skipped instead of failing. No idea how to check for that in the test system, so I'll leave it to Jani or someone else.

-iconv stream filter [ext/iconv/tests/iconv_stream_filter.phpt]

This test exhibits wildly different behavior depending on the platform and/or version of iconv library. On BSD the last portion of it fails with "unknown error" instead of "invalid multibyte sequence". On Linux (with glibc iconv) it moronically goes ahead and actually decodes the ROT-13 "encrypted" data without outputting any errors. I don't think there's much we can do here unless we're willing to invest an inordinate amount of effort into tracking down specific iconv() versions and making allowances for them everywhere.

-Andrei

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to