[php-src] Issue #8308: The return value of mb_list_encodings() doesn't contain 'SJIS-win'
| From: | sj-i | Date: | Thu, 07 Apr 2022 04:14:14 +0000 |
| Subject: | [php-src] Issue #8308: The return value of mb_list_encodings() doesn't contain 'SJIS-win' | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-240720@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8308
Comment Author: sj-i
@alexdowad
https://3v4l.org/lQpnG
I found that conversion from U+00A5 is also different between
CP932 and
SJIS-win via brute-forcing.
I've also [asked the original author](https://twitter.com/sji_ch/status/1511841494126137345),
and [he said](https://twitter.com/moriyoshit/status/1511894772494991360) that SJIS-win
is a compatibility implementation created for historical reasons to map U+00A5 and U+203E in the
same way as eucJP-win, so that the differences with CP932 are intended and
should be kept.