NilVS
NilVS

Reputation: 271

Wrong characters after deploying android build with Cordova

I have been googling for some time and I can't seem to find an answer to this. When I simulate the app the special characters (such as á,à,â,ř...) are displayed correctly. But the moment I build it and install it on my Android device they are displayed like:

Any idea of why this is happening and how to fix it?

Thanks!

Upvotes: 1

Views: 43

Answers (2)

Rahul Saxena
Rahul Saxena

Reputation: 66

You can simply add charset="UTF-8" in your meta tag of your html page which will display the special characters as they are represented.

Upvotes: 0

NilVS
NilVS

Reputation: 271

For future people wondering, the solution was adding this:

<meta charset="UTF-8">

To the head of the html document.

Upvotes: 1

Related Questions