Added a handling function for different type of URL encoded names.