Fix encoding problems when sharing a question with special characters

escape() doesn't work with UTF-8 characters
Merge pull request #118 from adobo/fixshareencoding

Fix encoding problems when sharing a question with special characters