microsoft / microsoft/windows-container-tools

[BUG] process monitor does not support multi-byte characters

Open
#121 0 comments 0 reactions 1 assignee View on GitHub

@profnandaa is already working on this.

Since Feb 27, 2023.

bug work-around
Dominant language
C++
Stars
277
Forks
77
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
The current process monitor does not support multi-byte characters, e.g.

2023-02-27 03:50:18 - DEBUG: Unicode character 161:¡''
2023-02-27 03:50:18 - DEBUG: Unicode character 162:'¢'
2023-02-27 03:50:18 - DEBUG: Unicode character 163:'£'
2023-02-27 03:50:18 - DEBUG: Unicode character 164:'¤'
2023-02-27 03:50:18 - DEBUG: Unicode character 165:'Â¥'
2023-02-27 03:50:18 - DEBUG: Unicode character 166:'¦'
2023-02-27 03:50:18 - DEBUG: Unicode character 167:'§'
2023-02-27 03:50:18 - DEBUG: Unicode character 168:'¨'
2023-02-27 03:50:18 - DEBUG: Unicode character 169:'©'
2023-02-27 03:50:18 - DEBUG: Unicode character 170:'ª'
2023-02-27 03:50:18 - DEBUG: Unicode character 171:'«'
2023-02-27 03:50:18 - DEBUG: Unicode character 172:'¬'

Expected behavior
Print out the characters exactly as produced by the process.
em.

Configuration
-Tool: Log Monitor
-Version: 2.0.0-rc

Additional Info
Current work-around in v2/main is to print out - for each byte in place of the character, see PR #122

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.