Hi,
I did a viewsource on a webpage and copied it into ST2 and then saved it out and viewed it. It’s doing something wrong with the encoding on certain characters. I do the same thing with Notepad++ and it handles it perfectly. Here’s a couple of screen shots showing the weird way it renders some smart quotes. What is the solution?
ST 2 strange encoding with html
0 Likes
Here’s the same text after it is copied into Notepad++. Something weird is happening with the encoding. Anyone know what the issue is?
0 Likes
jps
#3
Sublime Text will save it as UTF-8 by default. You’ll need to add a meta tag indicating that the encoding of the file is UTF-8.
0 Likes