Chat Patches

Chat Patches

2M Downloads

Chat log: Non-ASCII characters turn into "?"

Qonsyuma opened this issue · 8 comments

commented

When typing in a script like Cyrillic, the text instead of being "хелоѵ", ends up being "?????" in the chat log.
An example JSON entry:

{
	"translate": "chat.type.text",
	"with": [
		{
			"insertion": "SomeName23",
			"clickEvent": {<...>},
			"hoverEvent": {<...>},
			"text": "SomeName23"
		},
		{
			"text": "?????"
		}
	]
}

( less important stuff has been abbreviated with <...> )

commented

This seems like a language or serialization issue, so it might be a little more difficult to fix. I'll look into this.

commented

Working on a bug fix, so far in development it seems to have fixed itself so maybe it's just a 1.19 text serializing issue. I'll update if anything new comes up

commented

Huh, that sounds like good news! x)

commented

Unfortunately it still seems to be broken, I have one more trick up my sleeve to try and fix this. So sorry for the inconvenience.

commented

I have a potential solution that I can try soon, but it would be released as a separate hotfix.
I think saving to file a hex representation of the character and then restoring it could work (ex, § as /0167).

commented

Will be fixed tonight!! Very sorry for the huge wait, it was an issue with text encoding.

commented

You can use the update by getting the artifact from the Actions page.

commented

Reinvestigating this.