[php-src] Issue #8308: The return value of mb_list_encodings() doesn't contain 'SJIS-win'
| From: | alexdowad | Date: | Thu, 07 Apr 2022 04:21:07 +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-240721@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8308
Comment Author: alexdowad
> 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.
Understood. 👍🏻
So it looks like the solution to this issue here is to restore SJIS-win. That will also
make it 'reappear' in mb_list_encodings.
Will do that as soon as I have a bit of time to prepare a PR.