While uploading images with the char å, ä or ö everthing gets messed up.
Tried to to .replace(“å”, “a”) and so on but that didn’t help.
String fileName = Path.GetFileName(files[i].FileName).Replace(" ", "").Replace("å", "a").Replace("ö", "o").Replace("ä", "ae");
Anyone knows how to resolve this?
Thanks
M
IIRC doesn’t Replace return the string? So just doing Replace on an existing string doesn’t change it.
IOW: