New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
特定の文字を送信すると文字化けする #2483
Comments
@seto1 こちら最新の開発版で確認したところ再現できませんでした。一度確認して頂いてもいいですか? |
@ryuring 環境の違いでしょうか。 ブラウザは以下で確認しました。
|
「瞭」だけ送信するかによっても変わりますね。 |
EUC-JP: |
https://trial.basercms.net/にて 幾つか試しましたが、現象が再現しました。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
概要
例: 「瞭」を送信すると「迸ュ」に変換される
送信データを変換している箇所で文字化けする
https://github.com/baserproject/basercms/blob/dev-5/plugins/baser-core/src/Controller/AppController.php#L254
BcEncode.detectOrderから「SJIS-win」を削除すると文字化けしない
https://github.com/baserproject/basercms/blob/dev-5/plugins/baser-core/config/setting.php#L734
PHP8.1だとmb_detect_orderの仕様が変更されていることが原因の可能性
https://speakerdeck.com/pakutoma/how-we-have-responded-to-the-php-8-dot-1-mbstring-specification-changes
baserCMS version : 5.0.2-dev
TODO
The text was updated successfully, but these errors were encountered: