I have something that displays text onto an image. I have some text that I want to show at a certain time. I am working with a std string and I get the characters from a char taken from the string. There is other text and this will work. I try to load this text as a binary file because I need it encrypted to be able to use it in my game. I get the funny characters like it didn't load right. I tried taking the encryption out and it didn't work. Then I load it as a text file and it works.
OK so how do I load it in binary and get the same characters as the source text with some kind of encryption?