Skip to content

Copy command breaks Unicode string on WSL #1918

@qwaz

Description

@qwaz

Describe the bug

Copy command does not correctly copy unicode characters.

Affected version

GitHub Copilot CLI 1.0.2 on WSL2

Steps to reproduce the behavior

Ask the model to write any answer that contains Unocide. Then, paste it to VSCode editor to see the corruption.

Example conversation:

❯ I'm testing your unicode output. Create a single sentence that contains unicode.
● Here you go: The café served crème brûlée while a naïve piñata swung beneath the château's façade — truly magnifique! 🎉

Then, use /copy command to copy the last output.

I get the following sentence:

Here you go: The café served crème brûlée while a naïve piñata swung beneath the château's façade — truly magnifique! 🎉

Expected behavior

Unicode characters are preserved when I copy the text.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions