I have to get what is next to the # character in the URL (in javascript). When there's an é, for example, I get escaped characters. I can unescape() them, but I get weird characters such as Ã. How can I get the right characters ?
use encodeURIComponent and decodeURIComponent. escape and unescape will be useful only for ASCII charset, while the former supports unicode charsets.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With