Current implementation pack.mcmeta uses system character encoding.
E.g. on windows 7 Japanese edition, writing description in mcmeta in SHIFT_JIS will show correct letters.
For easy distributing, any kind of metadatas should always use UTF-8 (or other Unicode-based character encoding).
Attachments
Comments 6
Example screenshot: my own language pack for 1.6.1 with Japanese description on Windows 7 64bit/Japanese.
Thank you for closing. Users can refer this ticket as 'specification' of .mcmeta.
This maybe belongs to the 'request for enchancement', so please keep this issue closed.
According to RFC 4627:
> JSON text SHALL be encoded in Unicode. The default encoding is UTF-8.
And .lang files are written in UTF-8. Translated end.txt also uses UTF-8 (same as with credits.txt).
Some files are written in UTF-8, and some files are not... this makes us very confusing.
To avoid confusing, Unicode based character encoding should be used in (pseudo) JSON files.
pack.mcmeta: ASCII text
Not really sure what you are talking about. There should be no unicode characters in the whole file.