nl: call the function force_text with 3 arguments: field_name, encoding and errors as a string 'replace', substitute the result for field_name.
code: field_name = force_text ( field_name , encoding , errors = 'replace' )