call the function original_urlencode with 2 arguments: list with 2 elements: result of the function force_str with an argument k,
return original_urlencode ( [ ( force_str ( k ) , [ force_str ( i ) for i in v ] if isinstance ( v , ( list , tuple ) ) else force_str ( v ) ) for k , v in query ] , doseq )