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

Error: Malformed UTF-8 data #17

Closed
Des-Hussain opened this issue Oct 31, 2018 · 2 comments
Closed

Error: Malformed UTF-8 data #17

Des-Hussain opened this issue Oct 31, 2018 · 2 comments

Comments

@Des-Hussain
Copy link

Des-Hussain commented Oct 31, 2018

Error: Malformed UTF-8 data
this error occurs in every 3 to 4 days
while after clearing the local Storage Data solve this error but user cannot do the same is there any alternative for this issue ?
or can you fix this bug ?

@Des-Hussain Des-Hussain changed the title Error: Malformed UTF-8 data #4 Error: Malformed UTF-8 data Oct 31, 2018
@konsultaner
Copy link
Contributor

@softvar I bet this might be the issue:

return decodeURIComponent(escape(enc.Latin1.stringify(wordArray)));

Why did you use the depricated escape. Why do you encode and then decode again?

@Des-Hussain
Copy link
Author

@konsultaner thanks,
The problem was occurring only when i was running the project on local because two different projects on same port while one has encoded data and other was string form and Keys were similar.

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