How to read text file strictly as 256 character ASCII
I am trying to read a game data file from an old windows RPG in order to create an editor program. The code reads each character as its ASCII value. The files are in 256 character ASCII, but when I try to read the file in Node.js, some of the characters fall out of range. Some of the int values of the characters read include ‘1206’, ‘1268’, ‘1674’, ‘65533’, etc.