Native-Messaging
Native-Messaging copied to clipboard
Send messages with accented characters
Hi, vakho10. i am trying to send messages with accented characters like "á", "ç", "ô", etc, but it does not work. On the console of the chrome extention appear the following error:
(BLESSED_EXTENSION context for knldjmfmopnpolahpmmgbagdohdnhkik) undefined:1: Uncaught SyntaxError: Unexpected end of JSON input{SyntaxError: Unexpected end of JSON input
at Object.parse (
Do you have any idea of what could be the problem?
Messages without accented characters work fine.
@marcelobandeira Well, from the exception I guess the JSON becomes invalid because of the characters. Something like this happens: { "something" : "bad symbols.asdkfsa;"othertextcomeshere } and it thinks that the value ended. Maybe there is some symbol which looks like or is similar to " character?