I\'m trying to encode any \'special\' characters in my javascript before processing it, but I\'m finding some special unicode characters aren\'t encoding as I want. How do I