I write in java code with spire.doc.jar that use BufferedReader to take some words from txt file and display it on word document at the end, this is how it read the txt file:
BufferedReader abc = new BufferedReader(new FileReader("carNumbers.txt"));
everything works well but when I export my all code into jar file and run it in CMD the word document come out with wired characters, instead of hebrew:
- הריני לאשר בזאת
i get:
�׳™׳×׳•׳¨ ׳•׳©׳�׳™׳˜
hebrew words that gets added to the word file with finalText.appendText like that:
finalText.appendText(",בכבוד רב" );
gets added to the word doc just fine
what i need to do to fix that please?