Skip to content

Shell Command Output with Chinese Characters Displays as Garbage #1945

Description

@boylin0

What happened?

When running shell commands using gemini-cli, if the command output contains Chinese characters, the output appears garbled or corrupted due to encoding issues.

Image

Image

What did you expect to happen?

The shell command output should correctly display Chinese characters without any garbled or unreadable text.

Client information

Details
$ gemini /about
╭────────────────────────────────────────────────────────╮
│                                                        │
│ About Gemini CLI                                       │
│                                                        │
│ CLI Version        0.1.4                               │
│ Git Commit         1078a54                             │
│ Model              gemini-2.5-pro                      │
│ Sandbox            no sandbox                          │
│ OS                 win32                               │
│                                                        │
╰────────────────────────────────────────────────────────╯

Login information

No response

Anything else we need to know?

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p2Important but can be addressed in a future release.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions