Fix encoding issue (raised by ERB) happening when providing URLs containing UTF-8 characters.

This commit fix #2
Merge pull request #5 from edouard/fix_utf8_encoding_bug

Fix encoding issue happening when providing URLs containing UTF-8 characters