PuTTY bug window-title-charset

This is a mirror. Follow this link to find the primary PuTTY web site.

Home | FAQ | Feedback | Licence | Updates | Mirrors | Keys | Links | Team
Download: Stable · Snapshot | Docs | Privacy | Changes | Wishlist

summary: Window titles not interpreted according to current charset
class: bug: This is clearly an actual problem we want fixed.
difficulty: fun: Just needs tuits, and not many of them.
priority: medium: This should be fixed one day.
fixed-in: c35d8b832801d926a16ad29c416b969654051ef0 (0.77)

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.

Also reported to Ubuntu as bug 48781, where it's suggested that using GTK2 will help.

Patch for Windows to interpret window title as UTF-8 (unreviewed): <[email protected]>

2021-12-29: now fixed properly. The terminal emulator remembers what character set was in force when the window-title OSC was received, and each GUI front end translates that into whatever the GUI API expects for window titles.


If you want to comment on this web site, see the Feedback page.
Audit trail for this bug.
(last revision of this bug record was at 2021-12-29 16:30:25 +0000)