Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

String.replace not Working

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?

like image 467
spen123 Avatar asked Aug 23 '15 23:08

spen123


1 Answers

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");
like image 107
Obed Soto Déctor Avatar answered Nov 03 '22 19:11

Obed Soto Déctor