I need to convert the french characters to html entity codes i.e. from céréales to 'c&e acute;r&e acute;ales' (no space actually between e and a) using any method in
java. I tried this method but doesnot know what is going wrong.
I'm calling this method with inputs as
and only getting output as
Céréales or
Céréales
Can someone help me?