Chat not working with german letters

Ok Hi so I have a script that scrambles players chat and puts them in german but for some reason when I use the german special characters it does not work (ÄÖÜßẞ), it prints fine in output but not in chat. I have removed the chat filter and still nothing
image