Results 1 to 16 of 16
May 21, 2007, 11:52 #1
- Join Date
- Aug 2000
- Philadephia, PA
- 1 Post(s)
- 0 Thread(s)
What character encoding will JS use?
Something like this:
document.write('<img src="http://www.example.com/image.php?title=' + escape(document.title) + '" />');
Do I know anything about the encoding of that text when I get it? Since every page the script resides on can have different encoding, is there any way to reliably record the webpage title without bungling characters outside the US-ASCII range?Try Improvely, your online marketing dashboard.
→ Conversion tracking, click fraud detection, A/B testing and more