I have a strange problem that I can't explain. I'm trying to manipulate a string with an accent as "é". This string comes from the name of an image from an input file type.
What I can not understand is why my string when I parse with for the accented character is split into two character. Here is an example to better understand:
My é
is divided into two character like this e
& ́
.
"é".length
=> 2
It's possible that utf8 is involved ?
I really don't understand anything at all !