'Cordova iOS source files not in UTF-8 after compilation
I develop a Cordova aplication for iOS. I use UTF8 for all of my source codes files. I use VS Code for writing and XCode for compilation. Both of them show my source files correctly:
VS Code
XCode ( I event set manually encoding of the file )
Once the application is compiled and loaded to my phone, the files are interpreted in some different encoding ( this picture comes from Safari debuger )
Any idea how to fix it?
Solution 1:[1]
So, finally I found the solution. It is necessary to add
<meta charset="UTF-8">
to index.html.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | user3523426 |



