Homec4science

textutils: wash_for_utf8() simplification

Authored by Federico Poli <federico.poli@cern.ch> on Jun 3 2014, 12:57.

Description

textutils: wash_for_utf8() simplification

  • Uses '.decode("utf-8", errors)' instead of a while loop. (closes #1755)

Signed-off-by: Federico Poli <federico.poli@cern.ch>
Tested-by: Jan Aage Lavik <jan.age.lavik@cern.ch>

Details

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:593383af578c: textutils: wash_for_utf8() simplification (authored by Federico Poli <federico.poli@cern.ch>).Jul 1 2014, 13:06