<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>107329</bug_id>
          
          <creation_ts>2005-06-13 12:21:49 +0000</creation_ts>
          <short_desc>Konsole doesn&apos;t save Encoding setting</short_desc>
          <delta_ts>2007-12-25 23:54:20 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>konsole</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>clcevboxvjeo</reporter>
          <assigned_to name="Konsole Bugs">konsole-bugs-null</assigned_to>
          <cc>sscheler</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>349979</commentid>
    <comment_count>0</comment_count>
    <who name="">clcevboxvjeo</who>
    <bug_when>2005-06-13 12:21:49 +0000</bug_when>
    <thetext>Version:            (using KDE KDE 3.4.1)
Installed from:    Unlisted Binary Package
OS:                Linux

1. Konsole - Settings - Encoding - C.E(iso8859-2)
2. Settings - Save as default
3. Open new tab or Restart Konsole and see Settings - Encoding is set to Default!

It&apos;s annoying</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>350866</commentid>
    <comment_count>1</comment_count>
    <who name="">clcevboxvjeo</who>
    <bug_when>2005-06-16 09:22:37 +0000</bug_when>
    <thetext>Hey guys, why noone answers to this? I don&apos;t believe it&apos;s working fine in your case. Please try it:

From Konsole menu select some Encoding and Save it as default.

Then run another instance of Konsole and you&apos;ll see that Encoding settings ARE NOT APPLIED!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>350957</commentid>
    <comment_count>2</comment_count>
    <who name="Kurt Hindenburg">khindenburg</who>
    <bug_when>2005-06-16 16:56:50 +0000</bug_when>
    <thetext>Yes, I&apos;m aware of this. The person who supplied the patch for the Encoding didn&apos;t take into account saving/loading the encoding at start time.  Although session management should work.
I&apos;ll see if I can fix by 3.4.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>351163</commentid>
    <comment_count>3</comment_count>
    <who name="">clcevboxvjeo</who>
    <bug_when>2005-06-17 10:37:16 +0000</bug_when>
    <thetext>Yes, you&apos;re right. Session management works, after startup it loads enverything correctly. But manually saving doesn&apos;t work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>351569</commentid>
    <comment_count>4</comment_count>
    <who name="Kurt Hindenburg">khindenburg</who>
    <bug_when>2005-06-18 17:14:11 +0000</bug_when>
    <thetext>SVN commit 426784 by hindenburg:

Allow saving/loading of Encoding in &apos;Save as Default&apos;.
Will backport to 3.4

BUG: 107329


 M  +55 -1     konsole.cpp  
 M  +2 -0      konsole.h  


--- trunk/KDE/kdebase/konsole/konsole/konsole.cpp #426783:426784
@@ -1469,6 +1469,7 @@
   config-&gt;writeEntry(&quot;TabColor&quot;, tabwidget-&gt;tabColor(se-&gt;widget()));
 
   if (se) {
+    config-&gt;writeEntry(&quot;EncodingName&quot;, se-&gt;encoding());
     config-&gt;writeEntry(&quot;history&quot;, se-&gt;history().getSize());
     config-&gt;writeEntry(&quot;historyenabled&quot;, b_histEnabled);
   }
@@ -1595,6 +1596,8 @@
       b_autoResizeTabs = config-&gt;readBoolEntry(&quot;AutoResizeTabs&quot;, false);
       m_tabColor = config-&gt;readColorEntry(&quot;TabColor&quot;);
       if ( !m_tabColor.isValid() ) m_tabColor = QColor( Qt::black );
+
+      s_encodingName = config-&gt;readEntry( &quot;EncodingName&quot;, &quot;&quot; ).lower();
    }
 
    if (m_menuCreated)
@@ -1615,6 +1618,7 @@
       showMenubar-&gt;setChecked(!menuBar()-&gt;isHidden());
       selectScrollbar-&gt;setCurrentItem(n_scroll);
       selectBell-&gt;setCurrentItem(n_bell);
+      selectSetEncoding-&gt;setCurrentItem( se-&gt;encodingNo() );
       updateRMBMenu();
    }
    updateKeytabMenu();
@@ -2541,6 +2545,54 @@
   activateSession(oldSession);
 }
 
+// Set session encoding; don&apos;t use any menu items.
+// System&apos;s encoding list may change, so search for encoding string.
+// FIXME: A lot of duplicate code from slotSetSessionEncoding
+void Konsole::setSessionEncoding( const QString &amp;encoding, TESession *session )
+{
+    if ( encoding.isEmpty() )
+        return;
+
+    if ( !session )
+        session = se;
+
+    // availableEncodingNames and descriptEncodingNames are NOT returned
+    // in the same order.
+    QStringList items = KGlobal::charsets()-&gt;descriptiveEncodingNames();
+    QString enc;
+
+    // For purposes of using &apos;find&apos; add a space after name,
+    // otherwise &apos;iso 8859-1&apos; will find &apos;iso 8859-13&apos;
+    QString t_enc = encoding + &quot; &quot;;
+    unsigned int i = 0;
+
+    for( QStringList::ConstIterator it = items.begin(); it != items.end(); 
+         ++it, ++i)
+    {
+        if ( (*it).find( t_enc ) != -1 )
+        {
+            enc = *it;
+            break;
+        }
+    }
+    if (i &gt;= items.count())
+        return;
+
+    bool found = false;
+    enc = KGlobal::charsets()-&gt;encodingForName(enc);
+    QTextCodec * qtc = KGlobal::charsets()-&gt;codecForName(enc, found);
+
+    //kdDebug()&lt;&lt;&quot;setSessionEncoding=&quot;&lt;&lt;enc&lt;&lt;&quot;; &quot;&lt;&lt;i&lt;&lt;&quot;; found=&quot;&lt;&lt;found&lt;&lt;endl;
+    if ( !found )
+        return;
+
+    session-&gt;setEncodingNo( i + 1 );    // Take into account Default
+    session-&gt;getEmulation()-&gt;setCodec(qtc);
+    if (se == session)
+        activateSession(se);
+
+}
+
 void Konsole::slotSetSessionEncoding(TESession *session, const QString &amp;encoding)
 {
   if (!selectSetEncoding)
@@ -2567,7 +2619,7 @@
   if(!found)
      return;
 
-  session-&gt;setEncodingNo(i);
+  session-&gt;setEncodingNo( i + 1 );    // Take into account Default
   session-&gt;getEmulation()-&gt;setCodec(qtc);
   if (se == session)
      activateSession(se);
@@ -2820,6 +2872,8 @@
   else
     s-&gt;setHistory(HistoryTypeNone());
 
+  setSessionEncoding( s_encodingName, s );
+
   addSession(s);
   runSession(s); // activate and run
   return sessionId;
--- trunk/KDE/kdebase/konsole/konsole/konsole.h #426783:426784
@@ -86,6 +86,7 @@
   void setSchema(const QString &amp; path);
   void setEncoding(int);
   void setSessionTitle(QString&amp;, TESession* = 0);
+  void setSessionEncoding(const QString&amp;, TESession* = 0);
 
   void enableFullScripting(bool b);
   void enableFixedSize(bool b);
@@ -294,6 +295,7 @@
   TESession*     se_previous;
   TESession*     m_initialSession;
   ColorSchemaList* colors;
+  QString        s_encodingName;
 
   QPtrDict&lt;KRootPixmap&gt; rootxpms;
   KWinModule*    kWinModule;
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>351579</commentid>
    <comment_count>5</comment_count>
    <who name="Kurt Hindenburg">khindenburg</who>
    <bug_when>2005-06-18 17:32:27 +0000</bug_when>
    <thetext>SVN commit 426796 by hindenburg:

Allow saving/loading of Encoding in &apos;Save as Default&apos;.

CCBUG: 107329


 M  +55 -1     konsole.cpp  
 M  +2 -0      konsole.h  


--- branches/KDE/3.4/kdebase/konsole/konsole/konsole.cpp #426795:426796
@@ -1470,6 +1470,7 @@
   config-&gt;writeEntry(&quot;AutoResizeTabs&quot;, b_autoResizeTabs);
 
   if (se) {
+    config-&gt;writeEntry(&quot;EncodingName&quot;, se-&gt;encoding());
     config-&gt;writeEntry(&quot;history&quot;, se-&gt;history().getSize());
     config-&gt;writeEntry(&quot;historyenabled&quot;, b_histEnabled);
   }
@@ -1595,6 +1596,8 @@
       m_tabViewMode = TabViewModes(config-&gt;readNumEntry(&quot;TabViewMode&quot;, ShowIconAndText));
       b_dynamicTabHide = config-&gt;readBoolEntry(&quot;DynamicTabHide&quot;, false);
       b_autoResizeTabs = config-&gt;readBoolEntry(&quot;AutoResizeTabs&quot;, false);
+
+      s_encodingName = config-&gt;readEntry( &quot;EncodingName&quot;, &quot;&quot; ).lower();
    }
 
    if (m_menuCreated)
@@ -1615,6 +1618,7 @@
       showMenubar-&gt;setChecked(!menuBar()-&gt;isHidden());
       selectScrollbar-&gt;setCurrentItem(n_scroll);
       selectBell-&gt;setCurrentItem(n_bell);
+      selectSetEncoding-&gt;setCurrentItem( se-&gt;encodingNo() );
       updateRMBMenu();
    }
    updateKeytabMenu();
@@ -2575,6 +2579,54 @@
   activateSession(oldSession);
 }
 
+// Set session encoding; don&apos;t use any menu items.
+// System&apos;s encoding list may change, so search for encoding string.
+// FIXME: A lot of duplicate code from slotSetSessionEncoding
+void Konsole::setSessionEncoding( const QString &amp;encoding, TESession *session )
+{
+    if ( encoding.isEmpty() )
+        return;
+
+    if ( !session )
+        session = se;
+
+    // availableEncodingNames and descriptEncodingNames are NOT returned
+    // in the same order.
+    QStringList items = KGlobal::charsets()-&gt;descriptiveEncodingNames();
+    QString enc;
+
+    // For purposes of using &apos;find&apos; add a space after name,
+    // otherwise &apos;iso 8859-1&apos; will find &apos;iso 8859-13&apos;
+    QString t_enc = encoding + &quot; &quot;;
+    unsigned int i = 0;
+
+    for( QStringList::ConstIterator it = items.begin(); it != items.end(); 
+         ++it, ++i)
+    {
+        if ( (*it).find( t_enc ) != -1 )
+        {
+            enc = *it;
+            break;
+        }
+    }
+    if (i &gt;= items.count())
+        return;
+
+    bool found = false;
+    enc = KGlobal::charsets()-&gt;encodingForName(enc);
+    QTextCodec * qtc = KGlobal::charsets()-&gt;codecForName(enc, found);
+
+    //kdDebug()&lt;&lt;&quot;setSessionEncoding=&quot;&lt;&lt;enc&lt;&lt;&quot;; &quot;&lt;&lt;i&lt;&lt;&quot;; found=&quot;&lt;&lt;found&lt;&lt;endl;
+    if ( !found )
+        return;
+
+    session-&gt;setEncodingNo( i + 1 );    // Take into account Default
+    session-&gt;getEmulation()-&gt;setCodec(qtc);
+    if (se == session)
+        activateSession(se);
+
+}
+
 void Konsole::slotSetSessionEncoding(TESession *session, const QString &amp;encoding)
 {
   if (!selectSetEncoding)
@@ -2601,7 +2653,7 @@
   if(!found)
      return;
 
-  session-&gt;setEncodingNo(i);
+  session-&gt;setEncodingNo( i + 1 );    // Take into account Default
   session-&gt;getEmulation()-&gt;setCodec(qtc);
   if (se == session)
      activateSession(se);
@@ -2855,6 +2907,8 @@
   else
     s-&gt;setHistory(HistoryTypeNone());
 
+  setSessionEncoding( s_encodingName, s );
+
   addSession(s);
   runSession(s); // activate and run
   return sessionId;
--- branches/KDE/3.4/kdebase/konsole/konsole/konsole.h #426795:426796
@@ -83,6 +83,7 @@
   void newSession(const QString &amp;program, const QStrList &amp;args, const QString &amp;term, const QString &amp;icon, const QString &amp;title, const QString &amp;cwd);
   void setSchema(const QString &amp; path);
   void setEncoding(int);
+  void setSessionEncoding(const QString&amp;, TESession* = 0);
 
   void enableFullScripting(bool b);
   void enableFixedSize(bool b);
@@ -289,6 +290,7 @@
   TESession*     se_previous;
   TESession*     m_initialSession;
   ColorSchemaList* colors;
+  QString        s_encodingName;
 
   QPtrDict&lt;KRootPixmap&gt; rootxpms;
   KWinModule*    kWinModule;
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>357369</commentid>
    <comment_count>6</comment_count>
    <who name="Ruben Jenster">rjenster</who>
    <bug_when>2005-07-12 14:12:09 +0000</bug_when>
    <thetext>I applied this patch against 3.4.1 and recompiled konsole. 
But encoding still falls back to standard.

Any Suggestions?

Regards 

Ruben</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>357411</commentid>
    <comment_count>7</comment_count>
    <who name="Kurt Hindenburg">khindenburg</who>
    <bug_when>2005-07-12 17:35:24 +0000</bug_when>
    <thetext>What is the output of this?

grep EncodingName $KDEHOME/share/config/konsolerc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>367416</commentid>
    <comment_count>8</comment_count>
    <who name="">clcevboxvjeo</who>
    <bug_when>2005-08-21 17:06:19 +0000</bug_when>
    <thetext>Just tried it in Klax 3.5 alpha, but the bug is there again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>367544</commentid>
    <comment_count>9</comment_count>
    <who name="Kurt Hindenburg">khindenburg</who>
    <bug_when>2005-08-22 01:06:33 +0000</bug_when>
    <thetext>The Encoding is saved... if have one tab open and save as default; close Konsole, restart Konsole, that Encoding is used.  

The issue is that new tabs are not getting the Encoding from the &apos;Save as Default&apos; if you mix the Shells&apos; Encoding...

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>374502</commentid>
    <comment_count>10</comment_count>
    <who name="Joerg Stolzenberg">jstolzenberg</who>
    <bug_when>2005-09-21 03:23:50 +0000</bug_when>
    <thetext>Just tried with Debian unstable (konsole 3.4.2-3).  The setting for encoding is saved correctly in konsolerc, but starts with default setting anyway. Independent if a tab is open or not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>382671</commentid>
    <comment_count>11</comment_count>
    <who name="Stefan Scheler">sscheler</who>
    <bug_when>2005-10-19 12:44:27 +0000</bug_when>
    <thetext>Hmm, so what is the status on this? In which version is this bug supposed to be fixed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>389382</commentid>
    <comment_count>12</comment_count>
    <who name="Kurt Hindenburg">khindenburg</who>
    <bug_when>2005-11-13 10:47:51 +0000</bug_when>
    <thetext>SVN commit 480099 by hindenburg:

The saving and loading of the Encoding should (finally) be fixed now.  This should be in KDE 3.5rc2 (I hope).

BUG: 107329


 M  +27 -27    konsole.cpp  


--- branches/KDE/3.5/kdebase/konsole/konsole/konsole.cpp #480098:480099
@@ -634,6 +634,8 @@
       list.prepend( i18n( &quot;Default&quot; ) );
 
       // BR114535 : Remove jis7 due to infinite loop.
+      // If you fix this issue and remove the line below,  remember to 
+      // remove the line in setSessionEncoding() (search for jis7).
       list.remove( i18n( &quot;Japanese ( jis7 )&quot; ) );
       selectSetEncoding-&gt;setItems(list);
       selectSetEncoding-&gt;setCurrentItem (0);
@@ -1485,8 +1487,15 @@
   config-&gt;writeEntry(&quot;DynamicTabHide&quot;, b_dynamicTabHide);
   config-&gt;writeEntry(&quot;AutoResizeTabs&quot;, b_autoResizeTabs);
 
+  if (selectSetEncoding)
+  {
+    QString encoding = KGlobal::charsets()-&gt;encodingForName(selectSetEncoding-&gt;currentText());
+    config-&gt;writeEntry(&quot;EncodingName&quot;, encoding);
+  } else {    // This will not always work (ie &apos;winsami&apos; saves as &apos;ws2&apos;)
+    if (se) config-&gt;writeEntry(&quot;EncodingName&quot;, se-&gt;encoding());
+  }
+
   if (se) {
-    config-&gt;writeEntry(&quot;EncodingName&quot;, se-&gt;encoding());
     config-&gt;writeEntry(&quot;history&quot;, se-&gt;history().getSize());
     config-&gt;writeEntry(&quot;historyenabled&quot;, b_histEnabled);
   }
@@ -2604,37 +2613,28 @@
     if ( !session )
         session = se;
 
-    // availableEncodingNames and descriptEncodingNames are NOT returned
-    // in the same order.
-    QStringList items = KGlobal::charsets()-&gt;descriptiveEncodingNames();
-    QString enc;
+    bool found = false;
+    QString enc = KGlobal::charsets()-&gt;encodingForName(encoding);
+    QTextCodec * qtc = KGlobal::charsets()-&gt;codecForName(enc, found);
+    if ( !found || !qtc )
+        return;
 
-    // For purposes of using &apos;find&apos; add a space after name,
-    // otherwise &apos;iso 8859-1&apos; will find &apos;iso 8859-13&apos;
-    QString t_enc = encoding + &quot; &quot;;
-    unsigned int i = 0;
-
-    for( QStringList::ConstIterator it = items.begin(); it != items.end();
-         ++it, ++i)
+    // Encoding was found; now try to figure out which Encoding menu item
+    // it corresponds to.
+    int i = 0;
+    QStringList encodingNames = KGlobal::charsets()-&gt;descriptiveEncodingNames();
+    QStringList::Iterator it = encodingNames.begin();
+    while ( it != encodingNames.end() &amp;&amp; 
+            KGlobal::charsets()-&gt;encodingForName(*it) != encoding )
     {
-        if ( (*it).find( t_enc ) != -1 )
-        {
-            enc = *it;
-            break;
-        }
+      i++; it++;
     }
-    if (i &gt;= items.count())
-        return;
 
-    bool found = false;
-    enc = KGlobal::charsets()-&gt;encodingForName(enc);
-    QTextCodec * qtc = KGlobal::charsets()-&gt;codecForName(enc, found);
+    i++;                 // Take into account the first entry: Default
+    if ( i &gt; 24 ) i--;   // Handle the removed jis7 entry
+    //kdDebug()&lt;&lt;&quot;setSessionEncoding=&quot;&lt;&lt;encoding&lt;&lt;&quot;; &quot;&lt;&lt;i&lt;&lt;endl;
 
-    //kdDebug()&lt;&lt;&quot;setSessionEncoding=&quot;&lt;&lt;enc&lt;&lt;&quot;; &quot;&lt;&lt;i&lt;&lt;&quot;; found=&quot;&lt;&lt;found&lt;&lt;endl;
-    if ( !found )
-        return;
-
-    session-&gt;setEncodingNo( i + 1 );    // Take into account Default
+    session-&gt;setEncodingNo( i );
     session-&gt;getEmulation()-&gt;setCodec(qtc);
     if (se == session)
         activateSession(se);
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>389392</commentid>
    <comment_count>13</comment_count>
    <who name="Kurt Hindenburg">khindenburg</who>
    <bug_when>2005-11-13 11:45:46 +0000</bug_when>
    <thetext>SVN commit 480103 by hindenburg:

Let&apos;s handle the jis7 problem this way.  That way the translators don&apos;t have
any new strings and I don&apos;t have to worry about the loading/saving not working
again.  It is too bad it is not possible to disable an item in a KSelectAction.

CCBUG: 107329
CCBUG: 114535


 M  +8 -6      konsole.cpp  


--- branches/KDE/3.5/kdebase/konsole/konsole/konsole.cpp #480102:480103
@@ -632,11 +632,6 @@
       selectSetEncoding = new KSelectAction( i18n( &quot;&amp;Encoding&quot; ), SmallIconSet( &quot;charset&quot; ), 0, this, SLOT(slotSetEncoding()), actions, &quot;set_encoding&quot; );
       QStringList list = KGlobal::charsets()-&gt;descriptiveEncodingNames();
       list.prepend( i18n( &quot;Default&quot; ) );
-
-      // BR114535 : Remove jis7 due to infinite loop.
-      // If you fix this issue and remove the line below,  remember to 
-      // remove the line in setSessionEncoding() (search for jis7).
-      list.remove( i18n( &quot;Japanese ( jis7 )&quot; ) );
       selectSetEncoding-&gt;setItems(list);
       selectSetEncoding-&gt;setCurrentItem (0);
       selectSetEncoding-&gt;plug(m_options);
@@ -863,6 +858,14 @@
     bool found;
     QString enc = KGlobal::charsets()-&gt;encodingForName(selectSetEncoding-&gt;currentText());
     qtc = KGlobal::charsets()-&gt;codecForName(enc, found);
+
+    // BR114535 : Remove jis7 due to infinite loop.
+    if ( enc == &quot;jis7&quot; ) {
+      kdWarning()&lt;&lt;&quot;Encoding Japanese (jis7) currently does not work!  BR114535&quot;&lt;&lt;endl;
+      qtc = QTextCodec::codecForLocale();
+      selectSetEncoding-&gt;setCurrentItem( 0 );
+    }
+
     if(!found)
     {
       kdWarning() &lt;&lt; &quot;Codec &quot; &lt;&lt; selectSetEncoding-&gt;currentText() &lt;&lt; &quot; not found!&quot; &lt;&lt; endl;
@@ -2631,7 +2634,6 @@
     }
 
     i++;                 // Take into account the first entry: Default
-    if ( i &gt; 24 ) i--;   // Handle the removed jis7 entry
     //kdDebug()&lt;&lt;&quot;setSessionEncoding=&quot;&lt;&lt;encoding&lt;&lt;&quot;; &quot;&lt;&lt;i&lt;&lt;endl;
 
     session-&gt;setEncodingNo( i );
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>391596</commentid>
    <comment_count>14</comment_count>
    <who name="atom">gazman</who>
    <bug_when>2005-11-20 03:07:25 +0000</bug_when>
    <thetext>An update:

utf8 encoding save does not work, due to the incorrect specification of the encoding in the savefile.

when saved, the utf8 encoding is saved in the konsolerc as UTF-8. That is not correct, as when loaded up again, the encoding is set to default, and utf8 chars do not work.

when I manually changed UTF-8 to utf8 with vim, it started up just fine and works.

so, I guess that somebody screwed up the savestrings :D.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>391600</commentid>
    <comment_count>15</comment_count>
    <who name="Kurt Hindenburg">khindenburg</who>
    <bug_when>2005-11-20 03:34:44 +0000</bug_when>
    <thetext>atom: Are you using the latest subversion code?  I&apos;m using utf8 w/o any problems.  You might try chossing Encoding-&gt;UTF8 and then &apos;Save as Default&apos; to see what it puts in your konsolerc.

% grep -i encoding $KDEHOME/share/config/konsolerc
EncodingName=utf8
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>448984</commentid>
    <comment_count>16</comment_count>
    <who name="Viorel Tabara">viorel</who>
    <bug_when>2006-06-23 00:18:10 +0000</bug_when>
    <thetext>Linux 2.6.16-gentoo-r7 #1 SMP Tue Jun 6 12:48:30 MDT 2006
Qt: 3.3.6
KDE: 3.5.2
Konsole: 1.6.2

1.Selected encoding UTF-8 and saved as default. 
2.Closed *all* the sessions one by one with &quot;Ctrl-D&quot;. 
3.Reopened Konsole and the new encoding is there.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>481758</commentid>
    <comment_count>17</comment_count>
    <who name="Sergey Smirnov">svs-57</who>
    <bug_when>2006-10-31 15:44:07 +0000</bug_when>
    <thetext>Is it possible to save encoding for each sessions?
I have a lot of servers working in different LANG.
Now I have to change encoding each times when open ssh session in konsole</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>566143</commentid>
    <comment_count>18</comment_count>
    <who name="">shattered</who>
    <bug_when>2007-12-25 23:54:20 +0000</bug_when>
    <thetext>Yeah, that feature would be nice to have.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>