Adjust to current coding standards
Assume default encoding in URLs to be utf-8, fall back to HTTP standard iso-8859-1