modelscope / modelscope/ms-swift

Bug: unexpected behavior with special characters in input

Open
#10,024 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
15.7k
Forks
1.7k
Avg merge
1d 16h
Merged PRs (30d)
136

Description

When using special characters in the input field, the output is incorrect.

Expected: proper escaping and handling
Actual: characters are stripped or cause errors

This might be related to the encoding changes in the last release.

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

No file or test is named. Start by reproducing the issue with representative special characters, then trace the input-handling and encoding changes from the last release. Done means characters are preserved or escaped correctly without errors, with a regression test covering the observed cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.