fix(currency): символ рубля вместо "?" в ms3Config - #498
Open
Ibochkarev wants to merge 1 commit into
Open
Conversation
Use ASCII-safe U+20BD in transport defaults, normalize "?" at read time for ms3Config/Format, and migrate existing broken system settings.
Ibochkarev
force-pushed
the
fix/issue-497-currency-symbol
branch
from
August 2, 2026 02:29
ed9c112 to
c785aef
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Описание
При дефолтной установке
ms3_currency_symbolиногда оказывается ASCII?(mojibake). Витрина читает настройку как есть, поэтомуms3Config.currencySymbolтоже?.Фикс в трёх местах: ASCII-safe
\u{20BD}в transport default, нормализация?вFormat(и через него вms3Config), Phinx-миграция для уже установленных сайтов.Тип изменений
Связанные Issues
Closes #497
Как это было протестировано?
composer test/ PHPUnit)Конфигурация тестирования:
fix/issue-497-currency-symbolЧеклист
composer stan/ CI jobPHPStan)npm run lint:ciдля Vue) — n/aДополнительные заметки
₽. До миграции витрина уже показывает рубль за счёт runtime-normalize.?больше не поддерживается (trade-off под [Bug] ms3Config выводит - "currencySymbol":"?" #497).