Reputation: 17627
The encoding for my site seems to not work on my mobile device.
I´m using this line for setting UTF-8
<meta http-equiv="content-type" content="text/html; charset=utf-8">
On my PC everything works fine, but not on mobile.
In PHPStorm I encoded the whole project as UTF-8 too.
What is wrong?
Upvotes: 0
Views: 1184
Reputation: 17627
Solved. I´ve opened the file in Notepad++ and switched the encoding from "UTF-8 without BOM" to "UTF-8"
Upvotes: 1
Reputation: 638
I use this on one of my sites and it seems to work well.
<meta charset="UTF-8" name="viewport" content="width=device-width, initial-scale=1 user-scalable=no">
Upvotes: 0