Doesn't Store Special Characters
Bug description
The responder works perfectly fine when you put in a unicode character. However, after you relaunch it changes to a question mark. This happens both in the regex (which makes it so you can't make it respond to people when they send a special character) and in the actual response (which makes you look confused all the time when you send the question mark)
Steps to reproduce
- make a responder to respond with a special unicode character like the one i used,
💕 - use it, to make sure it works
- relaunch the game
- use it and it will appear as question marks.
Expected behavior
Actual behavior
Relevant logs
No response
Minecraft version
1.20.4
Mod version
2.2.1
Other information
No response
Check list
- [X] I have verified that the issue persists in the latest version of the mod.
- [X] I have searched the existing issues and confirmed that this is not a duplicate.
I couldn't reproduce it in my dev environment. How about trying using the latest artifact and tell if the problem still exists?
Yeah it still happens. I will show the steps to reproduce in more detail
- go into the game and create a filter. the one i have is this
- make sure it works. for me, it did!
- after testing, alt+f4 your game, and then launch back up
- go into the config, and you will see that the hearts turned into question marks. As you can see in this screenshot, all my other triggers that have characters like that are question marks and no longer work properly.
Still, can't reproduce.
Could you please do /chattools config openfile, and tell me the encoding?
It can be seen here ↓
UTF-8
UTF-8
It is supposed to work fine, but on your computer it doesn't. That's weird.
@AlphaLeoli Hey! Does this problem still exist?
i will check in a bit am doing smt
oh i almost forgot to do this but yes it still happens
I think the best way to solve this is to directly write its corresponding Unicode encoding in the source file (it can't be done in-game, it will be escaped), so it shouldn't appear as a problem when re-entering......it might be a bit troublesome?