Skip to content

use 'Run Current Selection' to fprintf Chinese, the terminal will display garbled characters. #266

@ythare

Description

@ythare

Describe the bug

When I use sprintf to output Chinese-formatted strings in the MATLAB terminal (Shift+Enter), it will produce garbled characters. However, if I use Run File (F5), it won't.

Useful Information

  • MATLAB Version: 2021b
  • OS Version:
  • VS Code Version:

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions