3
I have a variable inputParams
with the string "Teste StackOverflow€"
But I need to do the btoa()
of this variable and the error is occurring:
Failed to execute 'btoa' on 'Window': The string to be encoded contains characters Outside of the Latin1 range.
I need to make the encounter of this string with the € for Base64, there is some other way to do this?
I need this character '€'.
– Fernando Souza
Here is a demo for your troubleshooting: https://jsfiddle.net/m7v2ejzm/
– Netinho Santos
worked thanks @Netinho Santos
– Fernando Souza