CromulentEntity / Dungeon_Crawler_Deux

Text based Dungeon Crawler game, built in Java from scratch.
0 stars 0 forks source link

Character Sets in terminals vary. This is a problem. #14

Open CromulentEntity opened 2 years ago

CromulentEntity commented 2 years ago

This evening one of the characters that I use to represent certain Map tiles started rendering as a question mark in my editors default terminal setup. I am not sure what caused this change. If I enter the command 'chcp 65001' in the console prior to running the code, these symbols are rendered properly. The 'chcp 65001' command evidently sets the terminal to use the UFT8 character set. My editor (Visual Studio Code) is set to use this character set by default, so I've got no idea why it has stopped rendering correctly.

This issue has made it apparent that I need a way to force rendering consistency across terminal applications (Consoles, Shells? I forget the proper term).