Chinese Characters Not Rendering in Teams Messages
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 1k
- Forks
- 132
- Avg merge
- 5d 19h
- Merged PRs (30d)
- 6
Description
Summary
WorkIQ ask_work_iq tool returns question marks (?) instead of Chinese characters when retrieving Teams chat messages.
Environment
- Tool:
workiq-ask_work_iq - Content Type: Teams chat messages
- Date Range: Messages from yesterday until now
Steps to Reproduce
- Use the
workiq-ask_work_iqtool to search for Teams messages - Query: "Show me the complete Teams chat messages with [Contact Name] from yesterday until now. I need the full original text of each message, including any Chinese
characters, with exact timestamps and sender names." - Observe the returned messages containing Chinese text
Expected Behavior
Chinese characters should be properly rendered and displayed in the message content. For example:
From: User Name Message: "我们需要讨论一下数据收集的方法"
Actual Behavior
Chinese characters are replaced with question marks:
From: User Name
Message: "???????????????????????? ???????????????? ????"
Example Output
Here's a sanitized example showing the issue:
Query used:
Show me Teams messages with [Colleague] since yesterday
Returned result:
From: User A Message: "How was [Company]'s response? Will they be able to offer a few time slots with three hours of per-minute data?"
From: User B Message: "???????????????????????? ???????????????? ????"
From: User A Message: "??????????????????, ????????rolling capture ??????,?????????? ????, ??????????????????????????,??????????????"
Impact
- Users cannot read Chinese content in Teams messages
- Makes the tool unusable for multilingual Teams conversations
- Data is likely being retrieved correctly but has encoding issues during display/transmission
Additional Context
- English text in the same messages renders correctly
- The issue appears consistent across all Chinese characters
- Some partial words are visible (e.g., "rolling capture" in mixed English/Chinese messages)
- Use workiq email message is correct for Chinese characters
- Use Teams M365 copilot , same prompt , Chinese characters display correctly
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the workiq-ask_work_iq tool using the provided Teams message query, then trace where the response is retrieved and displayed or transmitted. Done means Chinese characters remain intact alongside English text in Teams messages, matching the behavior reported for email and M365 Copilot.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100