I\'m setting document.title
with JavaScript, and I can\'t find a way to supply » (»
) without it appearing as literal text.
Here\
Try
document.title = 'Home \u00bb site.com';
Generally you can look up your special character at a site like this and then, once you know the numeric code, you can construct a Unicode escape sequence in your JavaScript string. Here, that character is code 187, which is "bb" in hex. JavaScript Unicode escapes look like "\u" followed by 4 hex digits.