<?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>161673</bug_id>
          
          <creation_ts>2008-05-05 22:16:38 +0000</creation_ts>
          <short_desc>Cyrillic file names on usb storage devices are displayed as &apos;?????????&apos;</short_desc>
          <delta_ts>2009-02-28 17:35:23 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kdelibs</product>
          <component>general</component>
          <version>4.0</version>
          <rep_platform>Ubuntu</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>HI</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eldar Insafutdinov">evilguard</reporter>
          <assigned_to name="kdelibs bugs">kdelibs-bugs-null</assigned_to>
          <cc>apaku</cc>
    
    <cc>arvidjaar</cc>
    
    <cc>chaos.proton</cc>
    
    <cc>dsent.zen</cc>
    
    <cc>finex</cc>
    
    <cc>kevin.kofler</cc>
    
    <cc>makc</cc>
    
    <cc>mitchell</cc>
    
    <cc>oeffentlich</cc>
    
    <cc>pij</cc>
    
    <cc>shafff</cc>
    
    <cc>turtle</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>60</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>599105</commentid>
    <comment_count>0</comment_count>
    <who name="Eldar Insafutdinov">evilguard</who>
    <bug_when>2008-05-05 22:16:38 +0000</bug_when>
    <thetext>Version:            (using KDE 4.0.3)
Installed from:    Ubuntu Packages
OS:                Linux

If I plug an usb hard-drive and first time  open it with dolphin-kde4 - I have this problems - file and folder names in cyrillic are displayed like &apos;????????&apos;. Then if I close dolphin-kde4 and open it with dolphin from kde3 - &apos;???????&apos; remain the same.
But if I unplug device, plug it once again and open it for the first time with dolphin from kde3 - everything is okey, I can launch dolphin-kde4 then and it also shows russian filenames correctly. So the problem is I think when KDE4 mounts the device, because in KDE 3 I don&apos;t have such a problem. I am not the only one, who troubles about this issue among the Russian community. It would be very nice of you to solve this problem, because I think it&apos;s the only one, that keeps me away from KDE 4 :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>599623</commentid>
    <comment_count>1</comment_count>
    <who name="Pehota">psa</who>
    <bug_when>2008-05-08 08:52:36 +0000</bug_when>
    <thetext>I confirm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>599624</commentid>
    <comment_count>2</comment_count>
    <who name="Pehota">psa</who>
    <bug_when>2008-05-08 08:53:58 +0000</bug_when>
    <thetext>using Ubuntu 8.04+KDE 4.0.73</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>600276</commentid>
    <comment_count>3</comment_count>
    <who name="Nikolay">doktorkster</who>
    <bug_when>2008-05-11 11:39:39 +0000</bug_when>
    <thetext>Confirm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>600278</commentid>
    <comment_count>4</comment_count>
    <who name="earfin">earfin</who>
    <bug_when>2008-05-11 11:46:41 +0000</bug_when>
    <thetext>confirm </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>625842</commentid>
    <comment_count>5</comment_count>
    <who name="Eldar Insafutdinov">evilguard</who>
    <bug_when>2008-07-17 09:24:53 +0000</bug_when>
    <thetext>AAAAA - it&apos;s alnmost the release of KDE 4.1, downloaded yesterday packages of 4.0.98 RC1 for ubuntu 8.04 - bug is still not fixed :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>625875</commentid>
    <comment_count>6</comment_count>
      <attachid>26195</attachid>
    <who name="Kristjan Ugrin">kristjan.ugrin</who>
    <bug_when>2008-07-17 10:25:20 +0000</bug_when>
    <thetext>Created attachment 26195
test file

Steps to reproduce:
1. download test file
2. mount external usb key (vfat) and try to copy file to this device
3. (it should fail)
4. eject usb key
5. plug it in again
6. try to copy to it again, it should work the second time</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>625876</commentid>
    <comment_count>7</comment_count>
    <who name="Kristjan Ugrin">kristjan.ugrin</who>
    <bug_when>2008-07-17 10:29:23 +0000</bug_when>
    <thetext>Because the attachment gets b0rked here, use this link (right-click on download -&gt; save file as):
http://files.myopera.com/kriko/files/Эльдар%20Инсафутдинов</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>625882</commentid>
    <comment_count>8</comment_count>
    <who name="George">gogast</who>
    <bug_when>2008-07-17 10:45:15 +0000</bug_when>
    <thetext>mount -o codepage=855,iocharset=utf8,uid=linux,gid=users /dev/sdb1 /mnt/ - works

in kernel parameters i have:
linux:/home/linux # grep &quot;FAT_DEFAULT&quot; /boot/config
CONFIG_FAT_DEFAULT_CODEPAGE=855
CONFIG_FAT_DEFAULT_IOCHARSET=&quot;utf8&quot;

so files with cyrillic letters on fat32 devices are displayed without problems
you can recompile kernel with this parameters</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>630716</commentid>
    <comment_count>9</comment_count>
    <who name="Eldar Insafutdinov">evilguard</who>
    <bug_when>2008-07-30 09:50:51 +0000</bug_when>
    <thetext>Why recompile kernel if both KDE3.5 and GNOME mount correctly on the same kernel?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>641178</commentid>
    <comment_count>10</comment_count>
    <who name="Dario Andres">andresbajotierra</who>
    <bug_when>2008-08-26 14:17:38 +0000</bug_when>
    <thetext>This seems to be relate to bug 165400 / bug 165044</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>644466</commentid>
    <comment_count>11</comment_count>
    <who name="Nick Shaforostoff">shafff</who>
    <bug_when>2008-09-07 16:01:29 +0000</bug_when>
    <thetext>fixed in kde 4.1 and 4.x

(it seems that automatic bug closing still haven&apos;t been restored)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>644734</commentid>
    <comment_count>12</comment_count>
    <who name="Kevin Kofler">kevin.kofler</who>
    <bug_when>2008-09-08 17:55:59 +0000</bug_when>
    <thetext>There are some things I don&apos;t understand in that patch:
* Why is this using 12xx codepage numbers? 12xx codepages are Window$ codepages, but FAT uses DO$ codepages (which have 8xx numbers or 437) for short file names and UTF-16 for long file names.
* Why is this assigning Western European languages to CP 1255? That&apos;s the Hebrew codepage. The correct Window$ codepage for Western Europe is CP 1252. Typo? (And shouldn&apos;t this use 850 or 437 instead?)
* Why is iocharset=utf8 getting removed for English (and other unlisted languages)? Even if the default codepage= setting is OK for English, the iocharset should still be UTF-8!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>644747</commentid>
    <comment_count>13</comment_count>
    <who name="Nick Shaforostoff">shafff</who>
    <bug_when>2008-09-08 18:21:57 +0000</bug_when>
    <thetext>1. because it works on my system (all Russian blog posts on this topic use cp1251).
2. thank you for noticing this! i&apos;ve just commited the fix.
3. i did that to not change behaviour for english environments (English users don&apos;t complain, so i don&apos;t touch what already works - simple safety rule).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>644753</commentid>
    <comment_count>14</comment_count>
    <who name="Kevin Kofler">kevin.kofler</who>
    <bug_when>2008-09-08 18:39:23 +0000</bug_when>
    <thetext>1. Yet http://bugs.kde.org/show_bug.cgi?id=161673#c8 says 855.
2. OK, but see above.
3. But it&apos;s inconsistent and if iocharset=utf8 is needed for some locales, it&apos;s needed for all, there can be accents in English file names too. That said, Fedora patches the kernel so UTF-8 is the default anyway, not sure what other distros do.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>645888</commentid>
    <comment_count>15</comment_count>
    <who name="Kevin Kofler">kevin.kofler</who>
    <bug_when>2008-09-12 22:16:23 +0000</bug_when>
    <thetext>I just tested it with one of my FAT32 partitions (created with Window$ Me), on Fedora 8 with the distribution kernel (2.6.25.14-69.fc8). If I pass codepage=1252 as an option, I get:
Unable to load NLS charset cp1252
FAT: codepage cp1252 not found
so cp1252 isn&apos;t even supported by the kernel! So your patch BREAKS automounting of VFAT partitions COMPLETELY at least on Fedora 8. If on the other hand, I use codepage=850 or codepage=437, it works, and both my personal experience and Wikipedia confirm that 8xx or 437 are the correct codepages to use. (437 is the old DO$ codepage for US and Western Europe, 850 the new Western European DO$ codepage (not sure about the US), the other 8xx ones are the other DO$ codepages, e.g. 855 for Cyrillic.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>645889</commentid>
    <comment_count>16</comment_count>
    <who name="Nick Shaforostoff">shafff</who>
    <bug_when>2008-09-12 22:19:08 +0000</bug_when>
    <thetext>thank you for test-based reasoning. i will commit changes in a moment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>645890</commentid>
    <comment_count>17</comment_count>
    <who name="Kevin Kofler">kevin.kofler</who>
    <bug_when>2008-09-12 22:21:26 +0000</bug_when>
    <thetext>We probably want 850 for the Western European languages.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>647589</commentid>
    <comment_count>18</comment_count>
    <who name="Pavel Zheltobryukhov">pij</who>
    <bug_when>2008-09-19 15:42:37 +0000</bug_when>
    <thetext>*** Bug 170636 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>647709</commentid>
    <comment_count>19</comment_count>
    <who name="Max">makc</who>
    <bug_when>2008-09-20 10:56:46 +0000</bug_when>
    <thetext>The way how this bug is going to be fixed (I mean latest changes in trunk) is noop for non-linux users. For expamle, freebsd mount doesn&apos;t have iocharset and codepage options (and ever uid --- you should use -u instead), but there are -L and -D options for mounting fat volumes [1] and -C for cd, ntfs, udf [2].   
May be it would be better to allow users to specify mount options, if they are not satisfied with default options?

[1] http://www.freebsd.org/cgi/man.cgi?query=mount_msdosfs
[2] http://www.freebsd.org/cgi/man.cgi?query=mount_cd9660
http://www.freebsd.org/cgi/man.cgi?query=mount_ntfs
http://www.freebsd.org/cgi/man.cgi?query=mount_udf
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>647737</commentid>
    <comment_count>20</comment_count>
    <who name="Nick Shaforostoff">shafff</who>
    <bug_when>2008-09-20 12:52:25 +0000</bug_when>
    <thetext>holy moly!

i understand that you BSD guys love to do everything manually, but no, with KDE you will be forced to see machine doing work for you ;)

i&apos;ll add check for these options a bit later today</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>647894</commentid>
    <comment_count>21</comment_count>
    <who name="Danila Sentiabov">dsent.zen</who>
    <bug_when>2008-09-21 20:41:07 +0000</bug_when>
    <thetext>I&apos;m not a BSD guy, but I also think that there should be a way to specify mount options manually. If you don&apos;t want to make GUI cluttered with options, it definitely won&apos;t hurt to provide a way to specify options in some config file.

Imagine that you have some FAT removable drives in cp 866 and some in cp 850. How will KDE you know which codepage to use in each case?

Another example. I, personally, never use anything except for en_US.UTF-8 in my locale settings. But all my FAT removable media is in 866 and I expect to see it working properly.

But it&apos;s more than that. What if I&apos;m not happy with other mount options in their default state? For example, I always use &quot;shortname=mixed&quot; option for FAT media. With KDE 3.5 I can simply set this option through GUI or edit mediamanagerrc manually (which is much more painful considering all that multi-character media UIDs and absence of a method to modify mount defaults). With KDE 4.x I&apos;ll have to recompile my kernel to make up for &quot;work&quot; that my machine &quot;doing for me&quot; without my request? :-)

I don&apos;t mean to produce a flame or make some ignorant complaints here, really. You are doing a great job, and I&apos;m sure that everyone is appreciating it. But it&apos;s sad that KDE now lacks configurability (at least in some areas) which always was it&apos;s main advantage over it&apos;s competitors. The main reason I sticked with KDE instead of Gnome some years ago was Gnome&apos;s &quot;simple approach&quot; (I&apos;d say &quot;dumb&quot; or even &quot;idiotic&quot;). Now it seems that &quot;simplification&quot; is plaguing everything, doing more harm than good :-)

Summarizing my thoughts. I think that &quot;doing all the chores&quot; without user intervention is good. But there should be a way to stop the machine manually if your shirt got caught in gear wheels :-)

Sorry for long comment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>648947</commentid>
    <comment_count>22</comment_count>
    <who name="Nick Shaforostoff">shafff</who>
    <bug_when>2008-09-26 11:06:42 +0000</bug_when>
    <thetext>for mounting drives with different codepages you can still use usual mount.
in future I might add autodetection (as in browsers), but this is low-priority for now. you can give us your helping hand.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>648958</commentid>
    <comment_count>23</comment_count>
    <who name="Danila Sentiabov">dsent.zen</who>
    <bug_when>2008-09-26 11:36:51 +0000</bug_when>
    <thetext>(In reply to comment #22)
&gt; for mounting drives with different codepages you can still use usual mount.
Oh, sure, I can do it. I can even create a bunch of .sh files on desktop to mount my media. Welcome back to the 90s with KDE 4! :-)

&gt; in future I might add autodetection (as in browsers), but this is low-priority
&gt; for now.
Even in browsers encoding autodetection don&apos;t work well. When it comes to filenames, where amount of available text data is too low to analyze, it&apos;d be much worse.

Today I&apos;ve found another case which require human intervention and manual mount settings. It&apos;s NTFS volumes. Windows users rarely use &quot;Safely remove&quot; option, so most of NTFS volumes that I had in my hands contained a &quot;dirty&quot; journal file requiring the &quot;force&quot; option to mount.

Is it really that hard, or that awfully wrong to add an option to set mount options manually, maybe in some hidden configuration file?

&gt; you can give us your helping hand.
I&apos;d be glad to help, but I barely know C++ and all I&apos;ve ever coded were WinAPI/MSVC applications. I fear that I&apos;d be useless as code contributor.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>648966</commentid>
    <comment_count>24</comment_count>
    <who name="Nick Shaforostoff">shafff</who>
    <bug_when>2008-09-26 12:55:41 +0000</bug_when>
    <thetext>I think of this ui:
in context menu of mounted media (e.g. on Places panel of Dolphin) add a menu option &apos;remount with custom options&apos;

as I said, we have another issues to work on, for example sonnet spellcheck doesn&apos;t work for cyrillic texts</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>648990</commentid>
    <comment_count>25</comment_count>
    <who name="Kevin Kofler">kevin.kofler</who>
    <bug_when>2008-09-26 15:55:27 +0000</bug_when>
    <thetext>Even if you use a spellchecker which uses UTF-8 throughout, like Hunspell? (It&apos;s OT in this report though, if you have a bug ID for that bug, we can discuss it there.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>648991</commentid>
    <comment_count>26</comment_count>
    <who name="Danila Sentiabov">dsent.zen</who>
    <bug_when>2008-09-26 16:03:33 +0000</bug_when>
    <thetext>(In reply to comment #24)
&gt; I think of this ui:
&gt; in context menu of mounted media (e.g. on Places panel of Dolphin) add a menu
&gt; option &apos;remount with custom options&apos;
Combined with a checkbox &quot;remember these options for this media&quot; it would&apos;be a God&apos;s blessing for me and many other users! :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>649090</commentid>
    <comment_count>27</comment_count>
    <who name="Grissiom">chaos.proton</who>
    <bug_when>2008-09-27 03:42:50 +0000</bug_when>
    <thetext>*** This bug has been confirmed by popular vote. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>649091</commentid>
    <comment_count>28</comment_count>
    <who name="Grissiom">chaos.proton</who>
    <bug_when>2008-09-27 03:45:18 +0000</bug_when>
    <thetext>The problem is still NOT fix in my box. KDE4.1.1 Slackware packages. The codepage of the disk should be cp936 and all the non-English characters get garbled.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>649115</commentid>
    <comment_count>29</comment_count>
    <who name="Nick Shaforostoff">shafff</who>
    <bug_when>2008-09-27 10:10:47 +0000</bug_when>
    <thetext>of course. use 4.1.2 that is due to be released in a few days.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>649116</commentid>
    <comment_count>30</comment_count>
    <who name="Grissiom">chaos.proton</who>
    <bug_when>2008-09-27 10:16:09 +0000</bug_when>
    <thetext>(In reply to comment #29)
&gt; of course. use 4.1.2 that is due to be released in a few days.
&gt; 

Oh,,, thanks really. I&apos;m very looking forward to use 4.1.2 ;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>649131</commentid>
    <comment_count>31</comment_count>
    <who name="Kevin Kofler">kevin.kofler</who>
    <bug_when>2008-09-27 10:38:31 +0000</bug_when>
    <thetext>I&apos;m not convinced the change from CP 850 to CP 437 (by mitchell, CCed) was a good idea:

&lt;&lt; Use CP 437 instead of 850.  From Wikipedia:

&quot;Code page 850 is a code page that was used in western Europe, under systems such as DOS. It was also sometimes used on English DOS systems although 
CP437 was generally the default on those. It was largely replaced first with windows-1252 (often mislabeled as ISO-8859-1) and later by UCS-2 and 
finally UTF-16 (while the NT line was natively unicode from the start issues of development tool support and compatibility with windows 9x kept most 
applications on the 8 bit code pages). According to Microsoft, it is obsolete and unsupported.&quot; &gt;&gt;

Relying on Wikipedia as a primary source of information is a bad idea, especially with a such unsourced statement. (I just added the {{fact}}, i.e. &quot;[citation needed]&quot;, template.)

The history as I recall it (and I do have experience with old M$ systems) is that CP 437 was for all effects replaced with CP 850 for all of Western Europe. This caused a lot of problems and so often it was manually reconfigured to 437. However, you have to consider what these problems were: they were problems with displaying some line drawing characters, which have been replaced with accented characters from ISO 8859-1 (but in different positions). Now what is more likely to be used in file names: line drawing characters or accented characters? So I expect there to be less problems with using 850 for file systems created with 437 than the opposite. (That said, CP 437 also has Greek characters which are not in 850, so that may be a problem.)

&lt;&lt; In my own experience accessing a device shared via Samba from both Linux and Windows systems, I need to set the Linux system to cp437, not 850. &gt;&gt;

Have you actually tried 850? Chances are it doesn&apos;t make any difference, unless you&apos;re using Greek letters or line-drawing characters in your file names. It does make a difference for those European users using the additional accented characters in CP 850.

&lt;&lt; And using &quot;obsolete and unsupported&quot; codepages is not generally a good idea. &gt;&gt;

Of course CP 850 is obsolete, but so is CP 437 and all the other &quot;OEM codepages&quot;.

That said, there is indeed a newer replacement for 850, but it&apos;s not 437, but 858, which is 850 with the Euro sign instead of the dotless i.

&lt;&lt; That being said, it might be better to find out why 1252 didn&apos;t work, since it should.  Then again, I believe I had tried 1252 before eventually 
getting to cp437 and had issues with it too. &gt;&gt;

And this shows that you don&apos;t have enough experience with M$ codepages to make such a change. CP 1252 obviously doesn&apos;t work because it&apos;s a Window$ codepage, not an &quot;OEM codepage&quot; (i.e. DO$ codepage) and FAT uses &quot;OEM codepages&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>649132</commentid>
    <comment_count>32</comment_count>
    <who name="Kevin Kofler">kevin.kofler</who>
    <bug_when>2008-09-27 10:40:40 +0000</bug_when>
    <thetext>(CP 1252 was designed to be compatible with (i.e. to use the same codepoints as) ISO 8859-1, not with the legacy OEM codepages.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>649193</commentid>
    <comment_count>33</comment_count>
    <who name="Nick Shaforostoff">shafff</who>
    <bug_when>2008-09-27 16:30:47 +0000</bug_when>
    <thetext>please test kde 4.1.2 and report if you&apos;re not satisfied with current situation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>649194</commentid>
    <comment_count>34</comment_count>
    <who name="Jeff Mitchell">mitchell</who>
    <bug_when>2008-09-27 16:37:10 +0000</bug_when>
    <thetext>Could you $top u$ing dollar $igns everywhere?  It looks $upremely $tupid.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>649228</commentid>
    <comment_count>35</comment_count>
    <who name="Kevin Kofler">kevin.kofler</who>
    <bug_when>2008-09-27 18:59:05 +0000</bug_when>
    <thetext>I consider this part of freedom of expression.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>649234</commentid>
    <comment_count>36</comment_count>
    <who name="Jeff Mitchell">mitchell</who>
    <bug_when>2008-09-27 19:13:32 +0000</bug_when>
    <thetext>You&apos;re right.  Here&apos;s my freedom of expression:  It makes you look like a moron.

Also, it makes what you are saying much more annoying to read.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>649339</commentid>
    <comment_count>37</comment_count>
    <who name="Andreas Pakulat">apaku</who>
    <bug_when>2008-09-28 10:52:25 +0000</bug_when>
    <thetext>Could you two please discuss that via private mail? Such mails in a public bug reporting website doesn&apos;t gain any of you two anything, except a bad public image. Which also might fall back to KDE in general, because this is KDE&apos;s bugreporting website. We&apos;re not in kindergarten here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>649355</commentid>
    <comment_count>38</comment_count>
    <who name="Kevin Kofler">kevin.kofler</who>
    <bug_when>2008-09-28 12:16:32 +0000</bug_when>
    <thetext>*** Bug 161588 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>649471</commentid>
    <comment_count>39</comment_count>
    <who name="Pavel Zheltobryukhov">pij</who>
    <bug_when>2008-09-28 18:24:02 +0000</bug_when>
    <thetext>*** Bug 133444 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>651013</commentid>
    <comment_count>40</comment_count>
    <who name="Manuel Schmid">oeffentlich</who>
    <bug_when>2008-10-04 18:24:31 +0000</bug_when>
    <thetext>I don&apos;t know if this is really fixed, as I&apos;m still experiencing problems when (auto-)mounting USB-drives with KDE 4.1.2 (Kubuntu Hardy packages). When I mount the drives with Nautilus, the filenames are correct.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>651021</commentid>
    <comment_count>41</comment_count>
    <who name="Nick Shaforostoff">shafff</who>
    <bug_when>2008-10-04 18:49:34 +0000</bug_when>
    <thetext>http://bugs.kde.org/show_bug.cgi?id=161588#c18

please tell us what&apos;s your locale (echo $LANG $LOCALE $LANGUAGE)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>651025</commentid>
    <comment_count>42</comment_count>
    <who name="Pavel Zheltobryukhov">pij</who>
    <bug_when>2008-10-04 19:11:48 +0000</bug_when>
    <thetext>I&apos;ve got a KDE 4.1.2 on my OpenSUSE 11.0 . And I see that my WD My Book mounted as

/dev/sdb1 on /media/MY BOOK type vfat (rw,nosuid,nodev,uid=1001,codepage=866,iocharset=utf8)

But KDE3 mount options is (was?) (see bug #170636 closed by myself)

/dev/sdb1 on /media/disk type vfat (rw,nosuid,nodev,noatime,flush,uid=1001,utf8,shortname=lower)

There is no any &apos;codepage&apos; options there, and all works fine

Moreover, I&apos;ve got a warning in dmesg output

FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!

Did we get a new crutch? Does the removeable media in KDE4 can be mount &apos;as-it-doing-in-KDE3&apos;?

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>651032</commentid>
    <comment_count>43</comment_count>
    <who name="Nick Shaforostoff">shafff</who>
    <bug_when>2008-10-04 19:42:11 +0000</bug_when>
    <thetext>yes, specifying utf8 works. i&apos;ll change the code in a moment</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>651033</commentid>
    <comment_count>44</comment_count>
    <who name="Nick Shaforostoff">shafff</who>
    <bug_when>2008-10-04 19:43:41 +0000</bug_when>
    <thetext>what i&apos;d like to know is whether same applies to BSD systems</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>651036</commentid>
    <comment_count>45</comment_count>
    <who name="Pavel Zheltobryukhov">pij</who>
    <bug_when>2008-10-04 20:15:44 +0000</bug_when>
    <thetext>In BSD systems case we still need a feature to specify a mount options manually!

Don&apos;t take me as pain in the neck - I use FreeBSD at work and Linux at home, and think that &apos;mount options&apos; can be a reasonable solution.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>651046</commentid>
    <comment_count>46</comment_count>
    <who name="Max">makc</who>
    <bug_when>2008-10-04 20:53:53 +0000</bug_when>
    <thetext>(In reply to comment #44)
&gt; what i&apos;d like to know is whether same applies to BSD systems
&gt; 
mounting fat volumes in 4.1.2 works as expected with utf-8 locales. however the problem still persist for cd/dvd drives and ntfs volumes.

Again, it would be nice to have possibility to set default options (global and per drive) for mounting. Many users will be grateful for that.
Thanks in advance from one of them :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>651058</commentid>
    <comment_count>47</comment_count>
    <who name="Nick Shaforostoff">shafff</who>
    <bug_when>2008-10-04 21:28:56 +0000</bug_when>
    <thetext>do you use ntfs or ntfs-3g?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>651257</commentid>
    <comment_count>48</comment_count>
    <who name="Max">makc</who>
    <bug_when>2008-10-05 17:00:01 +0000</bug_when>
    <thetext>(In reply to comment #47)
&gt; do you use ntfs or ntfs-3g?
Both. Mostly ntfs, cause I rarely need write access
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>651283</commentid>
    <comment_count>49</comment_count>
    <who name="Pino Toscano">pino</who>
    <bug_when>2008-10-05 18:35:46 +0000</bug_when>
    <thetext>@Max:
please do not mass-remove CC&apos;ed people, thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>651308</commentid>
    <comment_count>50</comment_count>
    <who name="Nick Shaforostoff">shafff</who>
    <bug_when>2008-10-05 19:56:55 +0000</bug_when>
    <thetext>Max: use ntfs-3g</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>651338</commentid>
    <comment_count>51</comment_count>
      <attachid>27705</attachid>
    <who name="Max">makc</who>
    <bug_when>2008-10-05 21:41:25 +0000</bug_when>
    <thetext>Created attachment 27705
fix mount for BSD

bsd specific:
use &apos;-u&apos; instead of uid
add charset conversion for ntfs, udf, iso9660 filesystems</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>651716</commentid>
    <comment_count>52</comment_count>
    <who name="Max">makc</who>
    <bug_when>2008-10-07 11:50:39 +0000</bug_when>
    <thetext>btw, this bug is marked as resolved/fixed. Should I open new one for mounting cd/dvd on bsd, or we can continue here?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>651750</commentid>
    <comment_count>53</comment_count>
    <who name="Nick Shaforostoff">shafff</who>
    <bug_when>2008-10-07 14:39:47 +0000</bug_when>
    <thetext>but you&apos;ve already submitted the patch.
and i applied it: http://websvn.kde.org/branches/KDE/4.1/kdelibs/solid/solid/backends/hal/halstorageaccess.cpp?view=markup</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>652883</commentid>
    <comment_count>54</comment_count>
      <attachid>27819</attachid>
    <who name="Max">makc</who>
    <bug_when>2008-10-11 23:00:01 +0000</bug_when>
    <thetext>Created attachment 27819
fix mount for BSD again

Nick, I have sent you private mail with new patch, but still have no response from you. So I&apos;m posting here the patch.
This patch removes dos codepage support for freebsd (as you have done for others in r868600) and enables charset conversion for non-default locales only.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>652934</commentid>
    <comment_count>55</comment_count>
    <who name="Nick Shaforostoff">shafff</who>
    <bug_when>2008-10-12 07:10:06 +0000</bug_when>
    <thetext>thanks. i&apos;m not always available for this, but be sure your work will go to kde 4.1.3 </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>653095</commentid>
    <comment_count>56</comment_count>
    <who name="Nick Shaforostoff">shafff</who>
    <bug_when>2008-10-12 18:26:35 +0000</bug_when>
    <thetext>commited to branch and trunk, please test</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>673051</commentid>
    <comment_count>57</comment_count>
    <who name="Danila Sentiabov">dsent.zen</who>
    <bug_when>2008-11-30 12:42:51 +0000</bug_when>
    <thetext>I&apos;m sorry for bringing this topic up, but 4.2 is near.

As far as I can see in 4.2 Beta 1, there is still no way to set mount options for each removable device manually (as it was in KDE 3.5 or it is currently in Gnome).

There is no way to set mount options via HAL either, because this functionality was deprecated long ago (http://bugs.kde.org/show_bug.cgi?id=133456#c9).
So, there is no way to customize mount options for removable devices at all. And there are not so few cases where it&apos;s needed.

Will something change in 4.2 release?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>699008</commentid>
    <comment_count>58</comment_count>
    <who name="Manuel Schmid">oeffentlich</who>
    <bug_when>2009-01-13 19:20:46 +0000</bug_when>
    <thetext>For me this bug is still not fixed in KDE 4.2 Beta2 (Kubuntu Intrepid packages). If I plug in my USB SD card reader, all file names are lower case, while they are upper case if they are mounted with Nautilus.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>716756</commentid>
    <comment_count>59</comment_count>
    <who name="Nick Shaforostoff">shafff</who>
    <bug_when>2009-02-14 19:56:39 +0000</bug_when>
    <thetext>@Manuel Schmid: does http://websvn.kde.org/?view=rev&amp;revision=918776 fix your problem?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>716847</commentid>
    <comment_count>60</comment_count>
    <who name="Danila Sentiabov">dsent.zen</who>
    <bug_when>2009-02-14 23:15:14 +0000</bug_when>
    <thetext>(In reply to comment #24)
&gt; I think of this ui:
&gt; in context menu of mounted media (e.g. on Places panel of Dolphin) add a menu
&gt; option &apos;remount with custom options&apos;
Sorry to bring this topic up, but 4.2 is out with no way to customize mount options.
Any chances to see this functionality in 4.3? Or there are no plans to do it at all?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>716855</commentid>
    <comment_count>61</comment_count>
    <who name="Nick Shaforostoff">shafff</who>
    <bug_when>2009-02-14 23:30:36 +0000</bug_when>
    <thetext>this may be considered as a junior fob. try to do it yourself.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>717233</commentid>
    <comment_count>62</comment_count>
    <who name="Manuel Schmid">oeffentlich</who>
    <bug_when>2009-02-15 20:09:39 +0000</bug_when>
    <thetext>(In reply to comment #59)
&gt; @Manuel Schmid: does http://websvn.kde.org/?view=rev&amp;revision=918776 fix your
&gt; problem?
&gt; 

I don’t know yet, as I only have the 4.2 release packages and don’t want to switch to unstable packages on my primary machine. It looks as if this might solve my problem though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>723515</commentid>
    <comment_count>63</comment_count>
    <who name="Andrey Borzenkov">arvidjaar</who>
    <bug_when>2009-02-28 10:15:52 +0000</bug_when>
    <thetext>(In reply to comment #42)
&gt; I&apos;ve got a KDE 4.1.2 on my OpenSUSE 11.0 . And I see that my WD My Book mounted
&gt; as
&gt; 
&gt; /dev/sdb1 on /media/MY BOOK type vfat
&gt; (rw,nosuid,nodev,uid=1001,codepage=866,iocharset=utf8)
&gt; 
&gt; But KDE3 mount options is (was?) (see bug #170636 closed by myself)
&gt; 

And what makes you believe KDE3 got it right? Bug 133456 suggests quite the contrary.

&gt; /dev/sdb1 on /media/disk type vfat
&gt; (rw,nosuid,nodev,noatime,flush,uid=1001,utf8,shortname=lower)
&gt; 
&gt; There is no any &apos;codepage&apos; options there, and all works fine
&gt; 

What &quot;all&quot; exactly? Can you compare two file names which differ only in upper/lower case as identical? And that for *every* character in Cyrillic alphabet? Can you work with short 8.3 Cyrillic names on pure FAT (i.e. no UNICODE names)? And all that with defaults in kernel (codepage=437, iocharset=iso8859-1)?

&gt; Moreover, I&apos;ve got a warning in dmesg output
&gt; 
&gt; FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will
&gt; be case sensitive!
&gt; 

What makes you believe that not seeing warning equals to &quot;problem has been fixed&quot;? Using utf8 flag is actually even more broken than using iocharset=utf8. In the latter you just get case-sensitive comparison. In the former, files names are compared using WHATEVER charset HAPPENS TO BE RIGHT NOW. I.o. you most likely compare utf8 names using (default) iso8859-1 NLS table. 

&gt; Did we get a new crutch? Does the removeable media in KDE4 can be mount
&gt; &apos;as-it-doing-in-KDE3&apos;?

I.e. let&apos;s leave it as broken as it was in KDE3?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>723729</commentid>
    <comment_count>64</comment_count>
    <who name="Pavel Zheltobryukhov">pij</who>
    <bug_when>2009-02-28 17:35:23 +0000</bug_when>
    <thetext>(In reply to comment #63)

&gt; What &quot;all&quot; exactly? 

&quot;all&quot; is mean that is &quot;work for me&quot;. If you want to discover this problem deeply - you can do it.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>26195</attachid>
            <date>2008-07-17 10:25:20 +0000</date>
            <delta_ts>2008-07-17 10:25:20 +0000</delta_ts>
            <desc>test file</desc>
            <filename>Эльдар Инсафутдинов</filename>
            <type>text/plain</type>
            <size>37</size>
            <attacher name="Kristjan Ugrin">kristjan.ugrin</attacher>
            
              <data encoding="base64">0K3Qu9GM0LTQsNGAINCY0L3RgdCw0YTRg9GC0LTQuNC90L7Qsg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>27705</attachid>
            <date>2008-10-05 21:41:25 +0000</date>
            <delta_ts>2008-10-05 21:41:25 +0000</delta_ts>
            <desc>fix mount for BSD</desc>
            <filename>halstorageaccess.cpp.diff</filename>
            <type>text/plain</type>
            <size>1051</size>
            <attacher name="Max">makc</attacher>
            
              <data encoding="base64">LS0tIGhhbHN0b3JhZ2VhY2Nlc3MuY3BwLm9yaWcJMjAwOC0xMC0wNSAyMzoxODowNy4wMDAwMDAw
MDAgKzA0MDAKKysrIGhhbHN0b3JhZ2VhY2Nlc3MuY3BwCTIwMDgtMTAtMDUgMjM6MzQ6MTYuMDAw
MDAwMDAwICswNDAwCkBAIC0yNjcsOCArMjY3LDE0IEBACiAgICAgUVN0cmluZ0xpc3Qgb3B0aW9u
czsKICAgICBRU3RyaW5nTGlzdCBoYWxPcHRpb25zID0gbV9kZXZpY2UtPnByb3BlcnR5KCJ2b2x1
bWUubW91bnQudmFsaWRfb3B0aW9ucyIpLnRvU3RyaW5nTGlzdCgpOwogCi0gICAgaWYgKGhhbE9w
dGlvbnMuY29udGFpbnMoInVpZD0iKSkgewotICAgICAgICBvcHRpb25zIDw8ICJ1aWQ9IitRU3Ry
aW5nOjpudW1iZXIoOjpnZXR1aWQoKSk7CisgICAgUVN0cmluZyB1aWQ7CisjaWYgZGVmaW5lZChR
X09TX0ZSRUVCU0QpCisgICAgdWlkPSItdT0iOworI2Vsc2UKKyAgICB1aWQ9InVpZD0iOworI2Vu
ZGlmCisgICAgaWYgKGhhbE9wdGlvbnMuY29udGFpbnModWlkKSkgeworICAgICAgICBvcHRpb25z
IDw8IHVpZCtRU3RyaW5nOjpudW1iZXIoOjpnZXR1aWQoKSk7CiAgICAgfQogICAgIC8vcmVzcGVj
dCBNaWNyb3NvZnQgV2luZG93cy1lbmZvcmNlZCBjaGFyc2V0cyBmb3IgZmF0CiAgICAgaWYgKCBt
X2RldmljZS0+cHJvcGVydHkoInZvbHVtZS5mc3R5cGUiKS50b1N0cmluZygpPT0idmZhdCIgKSB7
CkBAIC0zNTUsNiArMzYxLDEzIEBACiAgICAgICAgIH0KICAgICB9CiAKKyNpZiBkZWZpbmVkKFFf
T1NfRlJFRUJTRCkKKyAgICBRU3RyaW5nIGZzdHlwZT1tX2RldmljZS0+cHJvcGVydHkoInZvbHVt
ZS5mc3R5cGUiKS50b1N0cmluZygpOworICAgIGlmICggKCBmc3R5cGU9PSJudGZzIiB8fCBmc3R5
cGU9PSJpc285NjYwIiB8fCBmc3R5cGU9PSJ1ZGYiKSAmJiBoYWxPcHRpb25zLmNvbnRhaW5zKCIt
Qz0iKSApIHsKKyAgICAgICAgICAgIG9wdGlvbnMgPDwgIi1DPVVURi04IjsKKyAgICB9CisjZW5k
aWYKKwogICAgIG1zZyA8PCAiIiA8PCAiIiA8PCBvcHRpb25zOwogCiAgICAgcmV0dXJuIGMuY2Fs
bFdpdGhDYWxsYmFjayhtc2csIHRoaXMsCg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>27819</attachid>
            <date>2008-10-11 23:00:01 +0000</date>
            <delta_ts>2008-10-11 23:00:01 +0000</delta_ts>
            <desc>fix mount for BSD again</desc>
            <filename>halstorageaccess.cpp.diff</filename>
            <type>text/plain</type>
            <size>3841</size>
            <attacher name="Max">makc</attacher>
            
              <data encoding="base64">LS0tIGhhbHN0b3JhZ2VhY2Nlc3MuY3BwLm9yaWcJMjAwOC0xMC0wNyAxNjozNjozMC4wMDAwMDAw
MDAgKzA0MDAKKysrIGhhbHN0b3JhZ2VhY2Nlc3MuY3BwCTIwMDgtMTAtMDcgMTY6Mzc6MjkuMDAw
MDAwMDAwICswNDAwCkBAIC0yMSw2ICsyMSw5IEBACiAKICNpbmNsdWRlICJoYWxmc3RhYmhhbmRs
aW5nLmgiCiAKKyNpZmRlZiBRX09TX0ZSRUVCU0QKKyNpbmNsdWRlIDxsYW5naW5mby5oPgorI2Vu
ZGlmCiAjaW5jbHVkZSA8UXRDb3JlL1FMb2NhbGU+CiAjaW5jbHVkZSA8UXRDb3JlL1FEZWJ1Zz4K
ICNpbmNsdWRlIDxRdENvcmUvUVByb2Nlc3M+CkBAIC0yNzcsNzIgKzI4MCwxMiBAQAogICAgIH0K
IAogICAgIFFTdHJpbmcgZnN0eXBlPW1fZGV2aWNlLT5wcm9wZXJ0eSgidm9sdW1lLmZzdHlwZSIp
LnRvU3RyaW5nKCk7Ci0gICAgLy9yZXNwZWN0IE1pY3Jvc29mdCBXaW5kb3dzLWVuZm9yY2VkIGNo
YXJzZXRzIGZvciBmYXQKKyAgICBjaGFyICpjVHlwZTsKICNpZmRlZiBRX09TX0ZSRUVCU0QKICAg
ICBpZiAoIGZzdHlwZT09InZmYXQiICkgewotICAgICAgICBRU3RyaW5nIGNvZGVwYWdlOwotICAg
ICAgICBRU3RyaW5nIGlvY2hhcnNldDsKLSAgICAgICAgaWYgKGhhbE9wdGlvbnMuY29udGFpbnMo
Ii1EPSIpKSB7Ci0gICAgICAgICAgICBjb2RlcGFnZT0iLUQ9Q1AiOwotICAgICAgICAgICAgaW9j
aGFyc2V0PSItTD0iK1FMb2NhbGU6OnN5c3RlbSgpLm5hbWUoKSsiLlVURi04IjsKLSAgICAgICAg
fQotCi0gICAgICAgIGlmICghY29kZXBhZ2UuaXNFbXB0eSgpKSB7Ci0gICAgICAgICAgICBzd2l0
Y2ggKFFMb2NhbGU6OnN5c3RlbSgpLmxhbmd1YWdlKCkpIHsKLSAgICAgICAgICAgICAgICBjYXNl
IFFMb2NhbGU6OlJ1c3NpYW46Ci0gICAgICAgICAgICAgICAgY2FzZSBRTG9jYWxlOjpVa3JhaW5p
YW46Ci0gICAgICAgICAgICAgICAgY2FzZSBRTG9jYWxlOjpCeWVsb3J1c3NpYW46Ci0gICAgICAg
ICAgICAgICAgY2FzZSBRTG9jYWxlOjpCdWxnYXJpYW46Ci0gICAgICAgICAgICAgICAgICAgIGNv
ZGVwYWdlKz0iODY2IjsKLSAgICAgICAgICAgICAgICAgICAgYnJlYWs7Ci0gICAgICAgICAgICAg
ICAgY2FzZSBRTG9jYWxlOjpHZXJtYW46Ci0gICAgICAgICAgICAgICAgY2FzZSBRTG9jYWxlOjpJ
dGFsaWFuOgotICAgICAgICAgICAgICAgIGNhc2UgUUxvY2FsZTo6U3BhbmlzaDoKLSAgICAgICAg
ICAgICAgICBjYXNlIFFMb2NhbGU6OkZyZW5jaDoKLSAgICAgICAgICAgICAgICBjYXNlIFFMb2Nh
bGU6OkR1dGNoOgotICAgICAgICAgICAgICAgIGNhc2UgUUxvY2FsZTo6RGFuaXNoOgotICAgICAg
ICAgICAgICAgIGNhc2UgUUxvY2FsZTo6U3dlZGlzaDoKLSAgICAgICAgICAgICAgICBjYXNlIFFM
b2NhbGU6Ok5vcndlZ2lhbjoKLSAgICAgICAgICAgICAgICBjYXNlIFFMb2NhbGU6OkljZWxhbmRp
YzoKLSAgICAgICAgICAgICAgICBjYXNlIFFMb2NhbGU6OkVuZ2xpc2g6Ci0gICAgICAgICAgICAg
ICAgICAgIGNvZGVwYWdlKz0iNDM3IjsKLSAgICAgICAgICAgICAgICAgICAgYnJlYWs7Ci0gICAg
ICAgICAgICAgICAgY2FzZSBRTG9jYWxlOjpQb3J0dWd1ZXNlOgotICAgICAgICAgICAgICAgICAg
ICBjb2RlcGFnZSs9Ijg2MCI7Ci0gICAgICAgICAgICAgICAgICAgIGJyZWFrOwotICAgICAgICAg
ICAgICAgIGNhc2UgUUxvY2FsZTo6SGVicmV3OgotICAgICAgICAgICAgICAgICAgICBjb2RlcGFn
ZSs9Ijg2MiI7Ci0gICAgICAgICAgICAgICAgICAgIGJyZWFrOwotICAgICAgICAgICAgICAgIGNh
c2UgUUxvY2FsZTo6VHVya2lzaDoKLSAgICAgICAgICAgICAgICAgICAgY29kZXBhZ2UrPSI4NTci
OwotICAgICAgICAgICAgICAgICAgICBicmVhazsKLSAgICAgICAgICAgICAgICBjYXNlIFFMb2Nh
bGU6OkNoaW5lc2U6Ci0gICAgICAgICAgICAgICAgICAgIGlmIChRTG9jYWxlOjpzeXN0ZW0oKS5j
b3VudHJ5KCk9PVFMb2NhbGU6OkNoaW5hKQotICAgICAgICAgICAgICAgICAgICAgICAgY29kZXBh
Z2UrPSI5MzYiOwotICAgICAgICAgICAgICAgICAgICBlbHNlCi0gICAgICAgICAgICAgICAgICAg
ICAgICAvL2Nhc2UgUUxvY2FsZTo6VGFpd2FuOgotICAgICAgICAgICAgICAgICAgICAgICAgLy9j
YXNlIFFMb2NhbGU6OkhvbmdLb25nOgotICAgICAgICAgICAgICAgICAgICAgICAgLy9jYXNlIFFM
b2NhbGU6Ok1hY2F1OgotICAgICAgICAgICAgICAgICAgICAgICAgY29kZXBhZ2UrPSI5NTAiOwot
ICAgICAgICAgICAgICAgICAgICBicmVhazsKLSAgICAgICAgICAgICAgICBjYXNlIFFMb2NhbGU6
OkphcGFuZXNlOgotICAgICAgICAgICAgICAgICAgICBjb2RlcGFnZSs9IjkzMiI7Ci0gICAgICAg
ICAgICAgICAgICAgIGJyZWFrOwotICAgICAgICAgICAgICAgIGNhc2UgUUxvY2FsZTo6S29yZWFu
OgotICAgICAgICAgICAgICAgICAgICBjb2RlcGFnZSs9Ijk0OSI7Ci0gICAgICAgICAgICAgICAg
ICAgIGJyZWFrOwotICAgICAgICAgICAgICAgIGNhc2UgUUxvY2FsZTo6VGhhaToKLSAgICAgICAg
ICAgICAgICAgICAgY29kZXBhZ2UrPSI4NzQiOwotICAgICAgICAgICAgICAgICAgICBicmVhazsK
LSAgICAgICAgICAgICAgICBkZWZhdWx0OgotICAgICAgICAgICAgICAgICAgICBjb2RlcGFnZS5j
bGVhcigpOwotICAgICAgICAgICAgfQotICAgICAgICAgICAgaWYgKCFjb2RlcGFnZS5pc0VtcHR5
KCkpIHsKLSAgICAgICAgICAgICAgICBvcHRpb25zIDw8IGNvZGVwYWdlOwotICAgICAgICAgICAg
ICAgIG9wdGlvbnMgPDwgaW9jaGFyc2V0OwotICAgICAgICAgICAgfQorICAgICAgICBpZiAoIChj
VHlwZSA9IGdldGVudigiTENfQUxMIikpIHx8IChjVHlwZSA9IGdldGVudigiTENfQ1RZUEUiKSkg
fHwgKGNUeXBlID0gZ2V0ZW52KCJMQU5HIikpICkgeworICAgICAgICAgICAgb3B0aW9ucyA8PCAi
LUw9IitRU3RyaW5nKGNUeXBlKTsKICAgICAgICAgfQotCiAgICAgfQogI2VuZGlmCiAKQEAgLTM1
MCw3ICsyOTMsNiBAQAogICAgIGlmICggZnN0eXBlLnN0YXJ0c1dpdGgoIm50ZnMiKSAmJiBoYWxP
cHRpb25zLmNvbnRhaW5zKCJsb2NhbGU9IikgKSB7CiAgICAgICAgIC8vIGhhdmUgdG8gb2J0YWlu
IExDX0NUWVBFIGFzIHJldHVybmVkIGJ5IHRoZSBgbG9jYWxlYCBjb21tYW5kCiAgICAgICAgIC8v
IGNoZWNrIGluIHRoZSBzYW1lIG9yZGVyIGFzIGBsb2NhbGVgIGRvZXMKLSAgICAgICAgY2hhciAq
Y1R5cGU7CiAgICAgICAgIGlmICggKGNUeXBlID0gZ2V0ZW52KCJMQ19BTEwiKSkgfHwgKGNUeXBl
ID0gZ2V0ZW52KCJMQ19DVFlQRSIpKSB8fCAoY1R5cGUgPSBnZXRlbnYoIkxBTkciKSkgKSB7CiAg
ICAgICAgICAgICBvcHRpb25zIDw8ICJsb2NhbGU9IitRU3RyaW5nKGNUeXBlKTsKICAgICAgICAg
fQpAQCAtMzU4LDggKzMwMCw4IEBACiAKICNpZmRlZiBRX09TX0ZSRUVCU0QKICAgICBpZiAoIGZz
dHlwZS5zdGFydHNXaXRoKCJudGZzIikgfHwgZnN0eXBlPT0iaXNvOTY2MCIgfHwgZnN0eXBlPT0i
dWRmIiApIHsKLSAgICAgICAgaWYgKGhhbE9wdGlvbnMuY29udGFpbnMoIi1DPSIpKQotICAgICAg
ICAgICAgb3B0aW9ucyA8PCAiLUM9VVRGLTgiOworICAgICAgICBpZiAoIChjVHlwZSA9IGdldGVu
digiTENfQUxMIikpIHx8IChjVHlwZSA9IGdldGVudigiTENfQ1RZUEUiKSkgfHwgKGNUeXBlID0g
Z2V0ZW52KCJMQU5HIikpICkKKyAgICAgICAgICAgIG9wdGlvbnMgPDwgIi1DPSIrUVN0cmluZyhu
bF9sYW5naW5mbyhDT0RFU0VUKSk7CiAgICAgfQogI2Vsc2UKICAgICBpZiAoIC8qZnN0eXBlLnN0
YXJ0c1dpdGgoIm50ZnMiKSB8fCovIGZzdHlwZT09Imlzbzk2NjAiIHx8IGZzdHlwZT09InVkZiIg
fHwgZnN0eXBlPT0idmZhdCIgKSB7Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>