Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send messages with accented characters #2

Open
marcelobandeira opened this issue Jan 25, 2018 · 1 comment
Open

Send messages with accented characters #2

marcelobandeira opened this issue Jan 25, 2018 · 1 comment

Comments

@marcelobandeira
Copy link

marcelobandeira commented Jan 25, 2018

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 ()
at dispatchOnMessage (extensions::messaging:338:21)}

Do you have any idea of what could be the problem?

Messages without accented characters work fine.

@vakho10
Copy link
Owner

vakho10 commented Feb 1, 2018

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants