No Chat Reports

No Chat Reports

43M Downloads

Issues with special chars in encryption

onebyte4 opened this issue · 6 comments

commented

Modloader

Fabric

Minecraft Version

1.19.2

Modloader Version

Fabric Loader v0.14.9 + Fabric Api v0.62.0+1.19.2

No Chat Reports Version

1.19.2-v1.13.8

Modpack Info

No response

The latest.log File

No response

Bug Description

chars like this only works on Caesar Encryption : á ß ü ÿ
korean,japanese,chinese not work correctly in any encryption algorithm:

examples:
こんにちは
你好呀
안녕

some other special chars also not work correctly on any encryption algorithm : ✘✭✪

Steps to Reproduce

No response

Other Information

No response

commented

bugreport

á ß ü ÿ changes to question mark in squares but "こんにちは" "你好呀" "안녕" changes to ?

maybe this issue caused by encoding on encryption?

commented

I have tested those first 4 characters with every encryption algorithm (in the order of button cycle), and they seem to work correctly at all times:
image

Korean, japanese and chinese seem to not work specifically in Caesar, not any other algorithm:
image

Same for special symbols:
image

commented

update: putting -Dfile.encoding=UTF-8 to jvm arguments fixes issue except caesar

commented

update: putting -Dfile.encoding=UTF-8 to jvm arguments fixes issue except caesar

Quite as expected. I still need to know what default encoding is in your case to test things with it though.

commented

Yes, this does seem to be encoding-related. What is default encoding on your client? You can run this version of NCR and look for Default JVM text encoding is: line in the logs to find out: https://aizistral.com/NoChatReports-FABRIC-1.19.2-v1.13.9_debug.jar

commented

Default JVM text encoding is: windows-1254