I have the following text, which I receive from my database
"----- Some Text ------ Bônus -------- Some Text ------- "
I am storing it in a String variable and printing the variable in the console and writing it into the PDF , but the issue is I am not getting the text in the correct format in console as well as in PDF , rather am getting Bônus as 'Bônus' , I referred this example http://itext.2136553.n4.nabble.com/Problem-with-spanish-character-td2163635.html
and changed the encoding of my compiler in gradle file to ,
compileJava.options.encoding = 'UTF-8'
But still the issue didnt get resolved
The example text I put out is just a sample one , there are many other words which gets changed or either a empty box is displayed.
Do I need to look into it from IText perspective ? or Compiler ?
Changing the Unicode of compiler didn't help though