<?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>135580</bug_id>
          
          <creation_ts>2006-10-13 13:10:33 +0000</creation_ts>
          <short_desc>encoding problem in hungarian_expert lecture</short_desc>
          <delta_ts>2006-11-23 09:54:20 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>ktouch</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Compiled Sources</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>0</everconfirmed>
          <reporter name="Egmont Koblinger">egmont</reporter>
          <assigned_to name="Haavard Froeiland">haavard</assigned_to>
          
          
          <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>476553</commentid>
    <comment_count>0</comment_count>
    <who name="Egmont Koblinger">egmont</who>
    <bug_when>2006-10-13 13:10:34 +0000</bug_when>
    <thetext>Version:            (using KDE KDE 3.5.5)
Installed from:    Compiled From Sources
OS:                Linux

hungarian_expert.ktouch.xml (the &quot;Hungarian (auto-generated)&quot; lecture) is in wrong encoding.

It contains plenty of otilde and ucircumflex characters (which are unused in Hungarian) where it should contain odoubleacute and udoubleacute instead.

Hence these characters look only similar to the real one (so they look disgusting), and they cannot be typed from the keyboard using Hungarian layout.

The phenomenon is quite typical: someone probably converted an 8-bit text file to UTF-8 assuming ISO-8859-1 as the source charset, which was a wrong assumption, the old-fashioned charset for Hungarian is ISO-8859-2.

To fix the file, just convert it from UTF-8 to ISO-8859-1 and then from ISO-8859-2 to UTF-8, it will be okay. Example:
cat hungarian_expert.ktouch.xml | iconv -f utf8 -t latin1 | iconv -f latin2 -t utf8 &gt; new.xml
mv new.xml hungarian_expert.ktouch.xml

Another way to fix the file is to do a search-replace for the characters mentioned above, as well as for their uppercase counterparts.

The title of the lecture says it&apos;s an auto-generated file. I don&apos;t know how this was generated since words from this file are not found anywhere else in ktouch&apos;s source. If the generating script is still available somewhere and there&apos;s some chance that it&apos;ll be used in the future then this script needs to be fixed too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>489058</commentid>
    <comment_count>1</comment_count>
    <who name="Anne-Marie Mahfouf">annma</who>
    <bug_when>2006-11-23 09:49:49 +0000</bug_when>
    <thetext>SVN commit 607116 by annma:

Fix in 3.5.5 branch encoding of this file following instructions given by Egmont Koblinger in the bug report
Thanks a lot Egmont for having investigated and providing the fixe
CCBUG=135580


 M  +138 -138  hungarian_expert.ktouch.xml  
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>489059</commentid>
    <comment_count>2</comment_count>
    <who name="Anne-Marie Mahfouf">annma</who>
    <bug_when>2006-11-23 09:51:53 +0000</bug_when>
    <thetext>The file is installed as such so even if it is written &quot;auto-generated&quot; I don&apos;t think it&apos;s the case.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>489061</commentid>
    <comment_count>3</comment_count>
    <who name="Anne-Marie Mahfouf">annma</who>
    <bug_when>2006-11-23 09:54:20 +0000</bug_when>
    <thetext>SVN commit 607117 by annma:

forward port of 607116
BUG=135580


 M  +138 -138  hungarian_expert.ktouch.xml  
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>