Reputation: 3524
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?
Upvotes: 6
Views: 675
Reputation: 11
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");
Upvotes: 1