<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>smb driver&#039;s _command needs to be charset aware</title> 
  <pubDate>Fri, 10 Apr 2026 05:21:32 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/7934</link> 
  <atom:link rel="self" type="application/rss+xml" title="smb driver&#039;s _command needs to be charset aware" href="https://bugs.horde.org/ticket/7934/rss" /> 
  <description>smb driver&#039;s _command needs to be charset aware</description> 
 
   
   
  <item> 
   <title>smb driver&#039;s _command() function needs to sey LC_CTYPE envir</title> 
   <description>smb driver&#039;s _command() function needs to sey LC_CTYPE enviroment variable. Otherwise gollem is not able show correctly or search for file names with accented characters.</description> 
   <pubDate>Mon, 02 Feb 2009 15:23:28 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7934#t52206</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/framework/VFS/lib/VFS/smb.php?rt=horde&amp;r1=1.3&amp;r2=1.4&amp;ty=u
http://cvs.horde.org/diff.php/framework/VFS/package.xml?rt=horde&amp;r1=1.88&amp;r2=1.89&amp;ty=u</description> 
   <pubDate>Fri, 06 Feb 2009 17:56:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7934#t52343</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/framework/VFS/lib/VFS/smb.php?rt=horde&amp;r1=1.1.2.3&amp;r2=1.1.2.4&amp;ty=u
http://cvs.horde.org/diff.php/framework/VFS/package.xml?rt=horde&amp;r1=1.36.4.27&amp;r2=1.36.4.28&amp;ty=u</description> 
   <pubDate>Fri, 06 Feb 2009 17:57:48 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7934#t52344</link> 
  </item> 
   
  <item> 
   <title>Added.</title> 
   <description>Added.</description> 
   <pubDate>Fri, 06 Feb 2009 17:58:08 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7934#t52345</link> 
  </item> 
   
  <item> 
   <title>That doesn&#039;t make any sense to me because

- we already set </title> 
   <description>That doesn&#039;t make any sense to me because

- we already set LC_ALL in horde

- this only works with horde anyway, but this is a pear package.

please revert.</description> 
   <pubDate>Fri, 06 Feb 2009 18:00:17 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7934#t52346</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/framework/VFS/lib/VFS/smb.php?rt=horde&amp;r1=1.4&amp;r2=1.5&amp;ty=u
http://cvs.horde.org/diff.php/framework/VFS/package.xml?rt=horde&amp;r1=1.89&amp;r2=1.90&amp;ty=u</description> 
   <pubDate>Fri, 06 Feb 2009 18:23:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7934#t52350</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/framework/VFS/lib/VFS/smb.php?rt=horde&amp;r1=1.1.2.4&amp;r2=1.1.2.5&amp;ty=u
http://cvs.horde.org/diff.php/framework/VFS/package.xml?rt=horde&amp;r1=1.36.4.28&amp;r2=1.36.4.29&amp;ty=u</description> 
   <pubDate>Fri, 06 Feb 2009 18:24:28 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7934#t52351</link> 
  </item> 
   
  <item> 
   <title>&gt; That doesn&#039;t make any sense to me because

&gt; - we already </title> 
   <description>&gt; That doesn&#039;t make any sense to me because

&gt; - we already set LC_ALL in horde

&gt; - this only works with horde anyway, but this is a pear package.

&gt; please revert.



Done.  Although the 1st point seems irrelevant to me: if this is truly a PEAR package, then we necessarily have to set LC_* inside the driver because there are no guarantees that it will have been set elsewhere since Horde is not a pre-requisite.</description> 
   <pubDate>Fri, 06 Feb 2009 18:26:06 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7934#t52352</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; That doesn&#039;t make any sense to me because

&gt;&gt; - we alread</title> 
   <description>&gt;&gt; That doesn&#039;t make any sense to me because

&gt;&gt; - we already set LC_ALL in horde



That may be, but that environment is not passed to smbclient command in _command().



&gt;&gt; - this only works with horde anyway, but this is a pear package.

&gt;&gt; please revert.

&gt;

&gt; Done.  Although the 1st point seems irrelevant to me: if this is 

&gt; truly a PEAR package, then we necessarily have to set LC_* inside the 

&gt; driver because there are no guarantees that it will have been set 

&gt; elsewhere since Horde is not a pre-requisite.



My testing showed that smbdriver might work correctly without this patch, but only if host&#039;s default environment and the current locale in gollem use the same charset.</description> 
   <pubDate>Fri, 06 Feb 2009 19:58:30 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7934#t52360</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; That doesn&#039;t make any sense to me because

&gt;&gt; - we alread</title> 
   <description>&gt;&gt; That doesn&#039;t make any sense to me because

&gt;&gt; - we already set LC_ALL in horde

&gt;&gt; - this only works with horde anyway, but this is a pear package.

&gt;&gt; please revert.

&gt;

&gt; Done.  Although the 1st point seems irrelevant to me: if this is 

&gt; truly a PEAR package, then we necessarily have to set LC_* inside the 

&gt; driver because there are no guarantees that it will have been set 

&gt; elsewhere since Horde is not a pre-requisite.



But we don&#039;t know which locale to use, if not using Horde.</description> 
   <pubDate>Fri, 06 Feb 2009 23:11:43 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7934#t52363</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt;&gt; That doesn&#039;t make any sense to me because

&gt;&gt;&gt; - we alre</title> 
   <description>&gt;&gt;&gt; That doesn&#039;t make any sense to me because

&gt;&gt;&gt; - we already set LC_ALL in horde

&gt;

&gt; That may be, but that environment is not passed to smbclient command 

&gt; in _command().



This might be a problem with your system, if LC_ALL doesn&#039;t set LC_CTYPE. Or are you saying that LC_ALL isn&#039;t set either?



&gt;&gt;&gt; - this only works with horde anyway, but this is a pear package.

&gt;&gt;&gt; please revert.

&gt;&gt;

&gt;&gt; Done.  Although the 1st point seems irrelevant to me: if this is

&gt;&gt; truly a PEAR package, then we necessarily have to set LC_* inside the

&gt;&gt; driver because there are no guarantees that it will have been set

&gt;&gt; elsewhere since Horde is not a pre-requisite.

&gt;

&gt; My testing showed that smbdriver might work correctly without this 

&gt; patch, but only if host&#039;s default environment and the current locale 

&gt; in gollem use the same charset.



But the assumption that the files in the Samba backend have the same locale like the current Horde frontend is completely wrong. If at all, then we need to specify a charset per backend, and convert to/from that.</description> 
   <pubDate>Fri, 06 Feb 2009 23:16:08 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7934#t52364</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt;&gt;&gt; That doesn&#039;t make any sense to me because

&gt;&gt;&gt;&gt; - we al</title> 
   <description>&gt;&gt;&gt;&gt; That doesn&#039;t make any sense to me because

&gt;&gt;&gt;&gt; - we already set LC_ALL in horde

&gt;&gt;

&gt;&gt; That may be, but that environment is not passed to smbclient command

&gt;&gt; in _command().

&gt;

&gt; This might be a problem with your system, if LC_ALL doesn&#039;t set 

&gt; LC_CTYPE. Or are you saying that LC_ALL isn&#039;t set either?

&gt;



From my point of view in the testing, it seems that the LC_ALL is not set when the smbclient command is evoked in the smb backend driver.



&gt;&gt;&gt;&gt; - this only works with horde anyway, but this is a pear package.

&gt;&gt;&gt;&gt; please revert.

&gt;&gt;&gt;

&gt;&gt;&gt; Done.  Although the 1st point seems irrelevant to me: if this is

&gt;&gt;&gt; truly a PEAR package, then we necessarily have to set LC_* inside the

&gt;&gt;&gt; driver because there are no guarantees that it will have been set

&gt;&gt;&gt; elsewhere since Horde is not a pre-requisite.

&gt;&gt;

&gt;&gt; My testing showed that smbdriver might work correctly without this

&gt;&gt; patch, but only if host&#039;s default environment and the current locale

&gt;&gt; in gollem use the same charset.

&gt;

&gt; But the assumption that the files in the Samba backend have the same 

&gt; locale like the current Horde frontend is completely wrong. If at 

&gt; all, then we need to specify a charset per backend, and convert 

&gt; to/from that.



Actually smbclient command does the character conversion for you when you give the character set you want in the LC_CTYPE.

</description> 
   <pubDate>Fri, 06 Feb 2009 23:41:14 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7934#t52371</link> 
  </item> 
   
  <item> 
   <title>Possible duplicate (or at least similar) to Ticket #5725?</title> 
   <description>Possible duplicate (or at least similar) to Ticket #5725?</description> 
   <pubDate>Tue, 10 Feb 2009 18:08:07 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7934#t52469</link> 
  </item> 
   
  <item> 
   <title>Agreed.</title> 
   <description>Agreed.</description> 
   <pubDate>Tue, 10 Feb 2009 19:28:33 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7934#t52476</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/framework/NLS/NLS.php?rt=horde&amp;r1=1.82.4.23&amp;r2=1.82.4.24&amp;ty=u</description> 
   <pubDate>Sun, 31 May 2009 17:13:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7934#t54370</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
