This repository has been archived by the owner on Apr 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 94
Window titles not interpreted according to current charset #88
Comments
FauxFaux
added a commit
that referenced
this issue
Aug 20, 2013
This is a bit of a hack; I started porting window.c to have a wchar_t window_title, and getting the terminal to do the conversion before passing the data through, but this gets messy; quite a bit (including settings and tray) needs to become wchar_t aware before this can work; it seems almost acceptable to make the windowing stuff make the decision, based on the information the terminal has available.
That seems to fix it; code's not great; see the commit message. |
FauxFaux
added a commit
that referenced
this issue
Aug 20, 2013
FauxFaux
added a commit
that referenced
this issue
Aug 20, 2013
However, in my tests, various apps I've tested send the title utf-8 encoded /anyway/, regardless of what you ask for with any settings I can find, and this causes us to return an empty title. If anyone actually has a non-utf-8 non-low-ascii setup that they want to report problems with (the problem being that the title bar just gets truncated), they should speak up.
Cool! |
Now it works fine! Thanks! |
Seems to be broken completely if PuTTY and remote computer are set to ISO-8859-15, window title is blank after login and changing screens or other screen commands won't set the title as they did before. With UTF-8 it is working fine. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Simple test:
echo -ne "\033]0;åäö\007"
Result:
åäö
Expected:
åäö
PuTTY set to
UTF-8
If set inside PuTTY config, it displays correctly.
Found this:
http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/window-title-charset.html
The text was updated successfully, but these errors were encountered: