Skip to content
Snippets Groups Projects

fix output handling for subprocesses with multi-byte chars

Merged Marco Ammon requested to merge my04mivo/framework:fix-benchmark-log-multi-byte into master

When using a german locale, program output may contain multi-byte chars such as "Umlaute". 'proc.stdout.read(1)' reads in only a single byte, triggering an exception when trying to decode that single byte.

By wrapping it into an TextIOWrapper, the text is read in char-by-char instead.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading