I have a string in my maven project and when I run it on my local machine, I have
String name = title.get(i).text().replace("é", "e");
Later I save the variable name
to a file
But then when I export to .jar and run the it on my server I see é not e, but when I run on my local machine I see "e" which is what I want.
What is happening?
If you are trying to change that from a web page you may want to try:
String name = title.get(i).text().replace("%C3%A9", "e");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With