Announcement

  •  » Requests
  •  » Foreign chars should work if the OS can work w/those in file names

#1 2019-04-26 17:51:51

piwiLaborer
Member
2013-07-30
33

Foreign chars should work if the OS can work w/those in file names

Hello/Hi/Greetings,

If the OS can handle "foreign" characters öäüß ÖÄÜ in file names, it should be also possible to use those file names under piwigo and not get error messages

Piwigo version: 2.9.4 (?)  how can I find this - it's current
PHP version: PHP 5.5.5-1
MySQL version: Ver 14.14 Distrib 5.5.58
Piwigo URL: http://samartha.net/pics


Uploaded Images

Offline

 

#2 2019-04-26 19:15:44

erAck
Piwigo Team
2015-09-06
276

Re: Foreign chars should work if the OS can work w/those in file names

piwiLaborer wrote:

Piwigo version: 2.9.4 (?)  how can I find this - it's current

Admin -> Tools -> Maintenance, Environment

Btw, your PHP 5.5.5 is outdated and 5.5 is EndOfLife since July 2016, see https://secure.php.net/eol.php


Running Piwigo at https://erack.net/gallery/

Offline

 

#3 2019-04-26 19:20:12

piwiLaborer
Member
2013-07-30
33

Re: Foreign chars should work if the OS can work w/those in file names

The main issue on this - "foreign characters valid in OS file names" is not addressed...

It's just plain ugly for native readers in those languages to replace the characters with expanded "regular" chars..., like:

Ü  UE, Ö OE, Ä AE, ß ss

Offline

 

#4 2019-04-26 20:01:46

executive
Member
2017-08-16
660

Re: Foreign chars should work if the OS can work w/those in file names

Sorry I can't read the text in your screenshot so maybe I don't understand correctly. But maybe this will help:

https://piwigo.org/forum/viewtopic.php? … 02#p167302
https://piwigo.org/forum/viewtopic.php? … 48#p144648

Offline

 

#5 2019-04-26 21:08:50

piwiLaborer
Member
2013-07-30
33

Re: Foreign chars should work if the OS can work w/those in file names

The text is in German and there is something called "Umlaute" a -> ä, u -> ü etc. and those are rejected by piwigo.

It is not necessary to read and understand the text in the screen shot I posted, just the fact that those characters are rejected in file names by piwigo when files or (maybe) titles are rejected and one has to put those workarounds in ä -> ae  etc. which is third class text IMO and makes it harder to read.

Why piwigo cannot handle those texts and rejects them whereas the OS and programs in there are localized.

Piwigo allows other localities but fails in this instance.

In addition, putting those files with "Umlaut" names from a German native system to piwigo, one has to go manually in and change them all to those double character replacement to the images and maybe texts (?) will be accepted. 

It is not fully localized or this issue would not come up.

The screenshot shows piwigo's error message rejecting the names.

Is it more clear then?

Offline

 

#6 2019-04-26 21:32:05

executive
Member
2017-08-16
660

Re: Foreign chars should work if the OS can work w/those in file names

I wasn't sure what you meant by "handle". You didn't explain what you were doing or how the error came up.

So I think Piwigo is rejecting some files when you are trying to import (FTP + synchronize? Web upload?)

The link I posted before seem to address your problem, so give it a try.

Offline

 

#7 2019-04-26 23:54:34

piwiLaborer
Member
2013-07-30
33

Re: Foreign chars should work if the OS can work w/those in file names

1.) Copy directory tree with German characters in file name on the server under Piwigo's picture tree
2.) Change permissions within directory tree of concern on server to piwigos conventions
3.) Under Admin "Synchronize" all

You get the error message shown in the attachment.  I have translated the text back to EN.

The error message that the folder/file does not exist or is not accessible is incorrect and misleading.
When piwigo encounters a folder/file name with characters "öäü?ÖÄÜ", it cannot recognize it and issues the error messages shown in the screen shot.



DE:
                               Fehlerliste
[./galleries/DE/Von-Rosi/18D325_Gruß_vom_Frühling] PWG-UPDATE-1 (falscher Dateiname)
[./galleries/DE/Von-Rosi/190424-Osterbrunnen_in_Wörishofen] PWG-UPDATE-1 (falscher Dateiname)
[./galleries]DE/Von-Rosi/181224-Weihnachsgrüße] PWG-UPDATE-1 {falscher Dateiname)

                           Fehlerüberschrift
PWG-UPDATE-1: Verzeichnis- und Dateinamen müssen aus Buchstaben oder den Zeichen "-", "_" oder "." bestehen.
PWG-ERROR-NO-FS: Auf diese Datei/ dieses Verzeichnis kann nicht zugegriffen werden. Entweder existiert die Datei/ das Verzeichnis nicht
verweigert.


EN:
                                 Error List
[./galleries/DE/Von-Rosi/18D325-Gr®vom_F®lin | PWG-UPDATE-1 (wrong filename)
[./galleries/DE/Von-Rosi/190424-0st-erbrunnen '@ hofen] PWG-UPDATE-1 (wrong filename)
[.1 galleries] DE / By- Rosil 181224-Christmas :: h PWG -UPDATE- 1 (incorrect filename)

                                Error Heading
PWG-UPDATE-1: Folder and file-names have to made from letters or the characters "-", "_" or ".".
PWG-ERROR-N0-FS: This folder/ file can can not be accessed. Either the file/ folder does not exist (missing text) denied.

This is a bug:
Error messages are wrong.
Software is not localized to set locality and does not recognize localized file system.

Offline

 

#8 2019-04-27 00:15:09

executive
Member
2017-08-16
660

Re: Foreign chars should work if the OS can work w/those in file names

executive wrote:

The link I posted before seem to address your problem, so give it a try.

Offline

 
  •  » Requests
  •  » Foreign chars should work if the OS can work w/those in file names

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact