I've this weird problem with JavaScript when I create an image element and set the source attribute. The file name let's say is "áéíóú.jpg"
and when I set it as src
It get:
src = %C3%A1,%20%C3%A9,%20%C3%AD,%20%C3%B3,%20%C3%BA.jpg".
I set the attribute with:
img.src = src;
And in the debug session src is:
src = "á, é, í, ó, ú.jpg"
var img = document.createElement('img');
img.className+="materialboxed";
img.src = src;
img.setAttribute('width', '175');
img.setAttribute('height', '150');