Summary: | Escape sequence for querying, setting encoding | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Yakov Lerner <iler.ml> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED WORKSFORME | ||
Severity: | wishlist | CC: | adaptee |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Yakov Lerner
2006-12-13 12:34:54 UTC
Wish, right? Confirmed following discussion on mailing list. In the KDE4 konsole, the konsoleprofile utility can be used to change the encoding of current tab, for example: $ konsoleprofile DefaultEncoding=GBK Or, use the related dbus methods : $ qdbus org.kde.org konsole /Sessions/1 codec UTF-8 $ qdbus org.kde.org konsole /Sessions/1 setCodec GBK true You can get the needed dbus parameters corresponding to current tab by looking at environment variable $KONSOLE_DBUS_SERVICE and $KONSOLE_DBUS_SESSION. I think the dbus methods in comment #4 are good enough. Feel free to reopen if you think they are not good enough to satisfy your need. |