In getEncodingParam allow the url string to start with 'encoding'