<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>21657</bug_id>
          
          <creation_ts>2009-09-21 21:28:31 +0400</creation_ts>
          <short_desc>can&apos;t correctly pass a filename with Russian to external program (at least, in ru_RU.KOI8-R or .CP1251)</short_desc>
          <delta_ts>2018-06-29 19:22:42 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>Branch 5.0</product>
          <component>firefox</component>
          <version>unspecified</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>21658</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          <cc>grenka</cc>
          
          <qa_contact name="qa-5.0@altlinux.org">qa-5.0</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>99754</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2009-09-21 21:28:31 +0400</bug_when>
    <thetext>firefox-3.0.9-alt1.M50.1
$ rpm -qa &apos;*xul*&apos;
xulrunner-libs-1.9.0.9-alt1.M50.1
xulrunner-1.9.0.9-alt1.M50.1
xulrunner-gnome-support-1.9.0.9-alt1.M50.1
$ 

How to reproduce:

[ivan@dell ~]$ locale
LANG=ru_RU.KOI8-R
LC_CTYPE=&quot;ru_RU.KOI8-R&quot;
LC_NUMERIC=&quot;ru_RU.KOI8-R&quot;
LC_TIME=&quot;ru_RU.KOI8-R&quot;
LC_COLLATE=&quot;ru_RU.KOI8-R&quot;
LC_MONETARY=&quot;ru_RU.KOI8-R&quot;
LC_MESSAGES=POSIX
LC_PAPER=&quot;ru_RU.KOI8-R&quot;
LC_NAME=&quot;ru_RU.KOI8-R&quot;
LC_ADDRESS=&quot;ru_RU.KOI8-R&quot;
LC_TELEPHONE=&quot;ru_RU.KOI8-R&quot;
LC_MEASUREMENT=&quot;ru_RU.KOI8-R&quot;
LC_IDENTIFICATION=&quot;ru_RU.KOI8-R&quot;
LC_ALL=
[ivan@dell ~]$ ls /home/ivan/data/OUT/bugreports/ALT/browsers/Russian-filenames
logo.doc  лого.doc
[ivan@dell ~]$ 

Now, start firefox an open this directory, click on the file with the Russian name (лого.doc), choose open in the menu.

Result:

openoffice is started, but it opens a new (empty) document. This wouldn&apos;t happen if one clicked on the file with the name in Latin letters (logo.doc). Also, if you typed 

$ oowriter /home/ivan/data/OUT/bugreports/ALT/browsers/Russian-filenames/лого.doc

it would correctly open the file. So the problem is with firefox not passing the arguments correctly to external programs.

Expected:

The filename is correctly passed to openoffice and the file is opened. This happens so in seamonkey-1.1.16-alt1 : seamonkey correctly opens this file in openoffice.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99755</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2009-09-21 21:30:54 +0400</bug_when>
    <thetext>The same problem arises when opening files with Russian names which are attachments received in Gmail: they are not opened if they are simply clicked on in firefox. Workaround: save the attachement, then open it from a file browser (like Thunar) or give a command in shell.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>172309</commentid>
    <comment_count>2</comment_count>
    <who name="Grigory Ustinov">grenka</who>
    <bug_when>2018-06-29 19:22:42 +0300</bug_when>
    <thetext>В p8 не воспроизводится.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>