I have a inputParams
variable with the string "Teste StackOverflow€"
But I need to do 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 encode this string with Base64 €, is there any other way to do this?