I'm trying to encrypt files in java using random characters. I have created these characters using the private character editor app in windows 10.
However, when I replace letters in a string with these custom characters, the letters are replaced with "?" instead of the desired character.
How can I make it so the letters will be replaced with the desired characters?
Thanks!
EDIT: Here's a screenshot of the character.
String text;
while ((text = br.readLine()) != null) {
System.out.println(text.replace("a", ""));
}
br.close();

System.out.println()? If so, you need to create a custom font.