Ugh, I see now what the problem is when testing on other systems - Windows console doesn't render UTF-8 correctly, you need to mess with character sets either by using the command chcp 1250 or chcp 1252 or chcp 65001 directly in console. This may also affect macOS although it shouldn't.
Whelp, I should've tested this game on other systems before, thanks for feedback.