Homec4science

textutils: translate_to_ascii() unknown chars fix

Authored by Federico Poli <federico.poli@cern.ch> on Jun 2 2014, 17:17.

Description

textutils: translate_to_ascii() unknown chars fix

  • translate_to_ascii() checks the characters one by one in order to make sure unrecognized values are ignored ("" instead of printing "[?]"). (closes #1754)
  • Adds unit test for this case.

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

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Jun 24 2014, 11:37
Parents
R3600:bfedeb097ee9: Merge branch 'maint-1.1'
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:d6d4a4485514: textutils: translate_to_ascii() unknown chars fix (authored by Federico Poli <federico.poli@cern.ch>).Jun 24 2014, 11:37