<?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>135186</bug_id>
          
          <creation_ts>2006-10-06 10:54:58 +0000</creation_ts>
          <short_desc>drag &apos;n drop file with utf-8 in name or path</short_desc>
          <delta_ts>2008-12-31 20:22:30 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kdeprint</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</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="Bruno Friedmann">bruno</reporter>
          <assigned_to name="KDEPrint Devel Mailinglist">kde-print-bugs-null</assigned_to>
          <cc>jlayt</cc>
    
    <cc>l.lunak</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>475061</commentid>
    <comment_count>0</comment_count>
    <who name="Bruno Friedmann">bruno</who>
    <bug_when>2006-10-06 10:54:58 +0000</bug_when>
    <thetext>Version:           3.5.4 &quot;release 88.1&quot; (using KDE KDE 3.5.4)
Installed from:    SuSE RPMs
Compiler:          gcc version 4.1.0 (SUSE Linux) 
OS:                Linux

You simply can not print files with accentuated characters in filename or in the path.

The long bug report could be find here 
https://bugzilla.novell.com/show_bug.cgi?id=194400 

or simple test in command line 
kprinter -t &quot;mon éxécrable test&quot; --system CUPS -P i250 /ioda/data/ioda-net/comptabilité/Avis_Réclamation_2000_FIN.pdf

produce and error 
cupsdoprint -P &apos;i250&apos; -J &apos;Avis_Réclamation_2000_FIN.pdf&apos; -H &apos;127.0.0.1:631&apos; -o &apos; multiple-document-handling=separate-documents-uncollated-copies&apos; &apos;/ioda/data/ioda-net/comptabilitÃ©/Avis_RÃ©clamation_2000_FIN.pdf&apos; : execution failed with message:
/ioda/data/ioda-net/comptabilitÃÂ©/Avis_RÃÂ©clamation_2000_FIN.pdf: file not found or not readable 

which is exactly the name the path and the document should have if the system was in ISO8859-1.

Has anybody a solution about this, or a way to get this fixed ?
I could send everything needed if you can tell me what :-).
Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>475418</commentid>
    <comment_count>1</comment_count>
    <who name="Bruno Friedmann">bruno</who>
    <bug_when>2006-10-08 15:21:32 +0000</bug_when>
    <thetext>Ok for the changing from crash to normal, but it&apos;s crashing ... you&apos;ve got a knotify box, and the print doesn&apos;t come out ... 

It&apos;s really a crash .. there&apos;s no way to bypass this without changing all path and filename which is not a real solution doesn&apos;t it ?

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>481761</commentid>
    <comment_count>2</comment_count>
    <who name="Bruno Friedmann">bruno</who>
    <bug_when>2006-10-31 15:52:45 +0000</bug_when>
    <thetext>With lastest KDE 3.5.5 &quot;release 19.1&quot; always the same annoying crashing bug.

Could someone have a look to this, before it goes into 4.x branch ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>483600</commentid>
    <comment_count>3</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2006-11-03 18:29:35 +0000</bug_when>
    <thetext>SVN commit 601573 by lunakl:

Do not encode the filenames manually, KProcess:operator&lt;&lt;(const QString&amp;)
does it.
BUG: 135186



 M  +2 -2      kprinterimpl.cpp  


--- branches/KDE/3.5/kdelibs/kdeprint/kprinterimpl.cpp #601572:601573
@@ -257,8 +257,8 @@
 	for (QStringList::ConstIterator it=files.begin(); it!=files.end(); ++it)
 		if (QFile::exists(*it))
 		{
-			// quote and encode filenames
-			filestr.append(quote(QFile::encodeName(*it))).append(&quot; &quot;);
+			// quote filenames
+			filestr.append(quote(*it)).append(&quot; &quot;);
 			printfiles.append(*it);
 		}
 		else
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>690491</commentid>
    <comment_count>4</comment_count>
    <who name="John Layt">jlayt</who>
    <bug_when>2008-12-31 20:22:30 +0000</bug_when>
    <thetext>Closing old Resolved status bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>