Skip to content
This repository was archived by the owner on Apr 19, 2024. It is now read-only.
This repository was archived by the owner on Apr 19, 2024. It is now read-only.

Window titles not interpreted according to current charset #88

@Jellyfrog

Description

@Jellyfrog

Simple test:

echo -ne "\033]0;åäö\007"
Result: åäö
Expected: åäö

TERM=xterm
SHELL=/bin/bash
LANG=en_US.UTF-8
LANGUAGE=en_US:en

PuTTY set to UTF-8
If set inside PuTTY config, it displays correctly.

Found this:

If an escape sequence (e.g. OSC 0) sets the window title bar, the text in the escape >sequence is just sent to the window system for display. We should make sure it is >interpreted according to whatever character set / codepage the terminal emulator is >currently using.

For instance, when charset is set to UTF-8 from PuTTY and locales on the remote >computer are en_US.UTF-8, unicode characters are shown as they vere latin chars.

http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/window-title-charset.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions