use decodeURIComponent() instead of unescape() to decode parts
add two test cases with special characters
Merge pull request #3 from stefanduberg/decodeURIComponent

use decodeURIComponent() instead of unescape() to decode parts