microsoft / microsoft/work-iq

Chinese Characters Not Rendering in Teams Messages

Open
#37 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P1
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

  1. Use the workiq-ask_work_iq tool to search for Teams messages
  2. 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."
  3. 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

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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.