Re: [webmin-l] Problems with Non-english lang in the new File-manager

"Jamie Cameron" <[email protected]>
Newsgroups gmane.comp.web.webmin.general
Message-ID <[email protected]>

Was this for a file created in Webmin, via a Windows system, or at the command line?  

On 07/Mar/2016 16:09 Tomas Larsson <[email protected]> wrote ..    Well, I ran “convmv” today, so all filenames is supposed to be utf8 now. However when I set Webmin to UTF-8, it is not displaying characters corretly   With best regards   Tomas Larsson   Från: Jamie Cameron [mailto:[email protected]] Skickat: den 6 mars 2016 20:54Till: Webmin users listÄmne: Re: [webmin-l] Problems with Non-english lang in the new File-manager   

As a work-around for this, the next Webmin release will not crash if a filename contains un-parseable UTF-8 characters. I'm at a loss to figure out what the correct encoding of an arbitrary filename is though :-(  

On 06/Mar/2016 10:32 Tomas Larsson <[email protected]> wrote ..    It sits on a network share, originally an NFS-share but now a Samba share. The directory was probably created from a Windows-Machine with the share mounted. With best regards Tomas Larsson Från: Jamie Cameron [mailto:[email protected]] Skickat: den 6 mars 2016 19:21Till: Webmin users listÄmne: Re: [webmin-l] Problems with Non-english lang in the new File-manager 

Hi Tomas,How was this problem directory created in the first place? I think the issue here is that the directory on the filesystem is not using UTF-8 encoding, but Webmin expects it to be.I was able to-produce this by creating a directory in non-UTF-8 mode and then switching to a UTF-8 encoding. However, removing that directory and re-creating it worked fine.The underlying issue is that a Unix filename has no way (that I know of) for it's encoding to be specified :-(  

On 06/Mar/2016 03:20 Tomas Larsson <[email protected]> wrote ..    Ok, installed 1.790 I can now open directory’s with Swedish characters However I am getting the following message HTTP/1.0 500 Perl execution failed Server: MiniServ/1.790 Date: Sun, 6 Mar 2016 10:40:47 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close  Error - Perl execution failed utf8 "\xE4" does not map to Unicode at /usr/lib/perl5/Encode.pm line 174. Lang is set for “Swedish (SV.UTF-8)” When I set it for only “Swedish”, characters are displayed correctly, but the same error message appears With best regards Tomas Larsson Från: Jamie Cameron [mailto:[email protected]] Skickat: den 6 mars 2016 03:34Till: Webmin users listÄmne: Re: [webmin-l] Problems with 
 Non-english lang in the new File-manager 

Hi Tomas,Can you try upgrading to the 1.790 version of Webmin from http://www.webmin.com/devel.html ? I don't see a problem with filenames like that on my test system, but that may be because I already fixed the issue. 

On 05/Mar/2016 13:29 Tomas Larsson <[email protected]> wrote ..    Using Centos 6.7 As an example is ”Dokumentär” Webmin set for Swedish UTF8, however the letters ÅÄÖ is not correctly displayed. ”Dokumentär”  = ”Dokument�r” in webmin Getting this when I click Following errors occured while performing operation  · Error opening directory /MediaShare/Dokument�r No such file or directory When I select only “Swedish” as webmin language, it is displayed correctly But I am still getting the same error Following errors occured while performing operation  · Error opening directory /MediaShare/Dokumentär No such file or directory With best regards Tomas Larsson Sweden Från: Jam
 ie Cameron [mailto:[email protected]] Skickat: den 5 mars 2016 21:00Till: Webmin users listÄmne: Re: [webmin-l] Problems with Non-english lang in the new File-manager 

Hi Tomas,A couple of people have reported this, but unfortunately I haven't been able to re-produce it!Which Linux distribution are you using there? Also, can you give an example of a non-english directory name?  

On 04/Mar/2016 12:19 Tomas Larsson <[email protected]> wrote ..    I have serious problems with the new File-Manager. It does not recognize any files or folders containing non-English letters. System is set to sv_SE.UTF-8 Webmin set to the same, still no go. It shows the files and directory’s but when trying to open them it says that they don’t exist. Thankfully the old Java-based is still there. Another thing, the search function only searches in the current directory as far as I can see and not in sub-dirs.  With best regards Tomas Larsson Sweden

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140

-
Forwarded by the Webmin mailing list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.