Translations are displayed UTF-8 encoded
The bug
It appears the new language files are not read using UTF-8 (without BOM) as encoding or the game actively encodes the read content using UTF-8 again.
For example € (\u20AC) is displayed as € which is its UTF-8 encoded representation.
How to reproduce
- Download the attached file MC-124179 resource pack.zip
and place it in your resourcepacks folder - Load the resource pack
- Use the following command
/tellraw @s {"translate":"utf_8_test"}
The language file is properly encoded using UTF-8 without BOM and contains the following:
{
"utf_8_test": "✓ (check mark)\n★ (star)\n☂ (umbrella)\n€ (Euro sign)"
}
But in-game the following is shown:
✓ (check mark) ★ (star) ☂ (umbrella) € (Euro sign)
2018-01-11, 11:48 PM
2020-08-14, 01:16 AM
2018-01-15, 01:45 PM
3
2