utf 8 - using utf-8 in javascript file -
utf 8 - using utf-8 in javascript file -
i'm trying utilize ☰
in external javascript file
$('<div />',{ text: '☰', ......
but couldn't save file , saying:
the document's current encoding can not correctly save of characters within document. may want alter utf-8 or encoding supports special characters in document.
what should do?
you should convert file utf-8, , seek pasting character in, again, after it's converted , saved.
your file in 1 of many, many formats, depending on editor, if you're using text-editor notepad, it's going cause problems things don't fit happily ascii.
javascript utf-8
Comments
Post a Comment