Corrupted characters in textarea [message #1067184] |
Sun, 07 July 2013 10:49 |
Pavlos Ponos Messages: 3 Registered: July 2013 |
Junior Member |
|
|
Hello all!
Nice to meet you!
I have wrote a java programm which compares strings with scope to find differencies between the validated text and the text i receive from my clients.
The languages that i want to compare the text are Slovak, Czech, Greek, Bulgarian, Turkish etc. Languages with special characters in general.
When i execute the program on my computer, everything is fine, the results in the text area i have created is correct, all the characters are shown correclty. I have encode the result in UTF-8 enconding.
I have tried to export this programm to a jar file but when i run it, the result in the textarea contains also corrupted characters.
During the execution of the programm, the code stores in an temp file (txt) the strings. I have open these txts and the text is shown correctly.
Is there any other way to export the code to a jar file and also avoid this issue?
Can somebody explain me why this happens? Meaning, the txts have the correct text but the text in textarea has corrupted characters.
Thank you in advance for your help.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03891 seconds