N
NikitOS
Guest
The
Before:
JSON:
After:
JSON:
I think it makes sense to disable Unicode escaping when writing the
Continue reading...
xf-addon:bump-version
command overwrites the addon.json
file with the new version, but the json_encode
function escapes Unicode, so values with Unicode characters become unreadable.Before:
JSON:
Code:
"extra_urls": {
"Тест": "https://example.com/"
}
JSON:
Code:
"extra_urls": {
"\u0422\u0435\u0441\u0442": "https://example.com/"
}
I think it makes sense to disable Unicode escaping when writing the
addon.json
file to preserve readability.Continue reading...