All questions about EDocman extension

Filename changed

  • Dim Galan
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 8 months ago - 4 years 8 months ago #133273 by Dim Galan
Filename changed was created by Dim Galan
Hi,

When I upload a file with greek characters in its filename, they are cut. For example if the original filename is "Δωμάτιο134-09052019-test2-Εξοδος" the filename will change to "134 09052019 test2 ".
So in other words, whatever is in Greek or is a symbol is left out.

Any ideas?

And I would appreciate if you don't ask for a url to access the backend as this is a local environment.
Normally this "issue" should be known to you so far.

Thanks
Last edit: 4 years 8 months ago by Dim Galan.

Please Log in or Create an account to join the conversation.

More
4 years 8 months ago #133284 by Mr. Dam
Replied by Mr. Dam on topic Filename changed
That's strange, i tried to upload the PDF file with Greek characters in file name, and it works normally. File name isn't changed. See my screenshot.

Thanks
Dam
  • Please Log in or Create an account to join the conversation.

    • Dim Galan
    • Topic Author
    • Offline
    • Junior Member
    • Junior Member
    More
    4 years 8 months ago #133286 by Dim Galan
    Replied by Dim Galan on topic Filename changed
    Hi Dam,

    You misunderstood! Maybe I didn't state it correctly.
    Yes, what I see in the picture works fine to me too.
    The problem is with the physical file. Please go to the path and find the file under the Category (e.g. Server\Edocman\Category\filename), then check its name.

    Thank you

    Please Log in or Create an account to join the conversation.

    More
    4 years 8 months ago #133287 by Mr. Dam
    Replied by Mr. Dam on topic Filename changed
    Hi,
    I don't think it is a big problem, because when you download the document, Edocman will return correct file with Greek characters without any change.
    Thanks
    Dam

    Please Log in or Create an account to join the conversation.

    • Dim Galan
    • Topic Author
    • Offline
    • Junior Member
    • Junior Member
    More
    4 years 8 months ago - 4 years 8 months ago #133291 by Dim Galan
    Replied by Dim Galan on topic Filename changed
    Hi Dam,

    It is not a big problem but it is still a problem, especially when dealing with large quantity of files.
    For instance, when you need to check the large amount of files in the directory and index them with the missing greek characters or even worse when you need to compare with another directory (e.g. local pc vs server). The filenames will be different!

    So IMHO this will be good to be corrected in Edocman as not everybody deals with small amount of files.

    Thanks
    Last edit: 4 years 8 months ago by Dim Galan.

    Please Log in or Create an account to join the conversation.

    More
    4 years 8 months ago #133300 by Mr. Dam
    Replied by Mr. Dam on topic Filename changed
    Hi Dim,
    I'll think about this problem, actually, in some cases, the non-utf8 characters in file names will be replace by strange characters. Thus, it's difficult for Edocman to figure the correct physical files of documents.
    Thanks
    Dam

    Please Log in or Create an account to join the conversation.

    • Dim Galan
    • Topic Author
    • Offline
    • Junior Member
    • Junior Member
    More
    4 years 8 months ago #133314 by Dim Galan
    Replied by Dim Galan on topic Filename changed
    Hi Dam,

    Before posting here I had already checked the db collation. I always use utf8-general-ci and now I have also tried utf8mb4-general-ci (for emoji, etc).
    Greek characters (and other) work fine with both the above collation.
    So I think the issue must be something else...

    Thanks

    Dim

    Please Log in or Create an account to join the conversation.

    More
    4 years 8 months ago #133347 by Mr. Dam
    Replied by Mr. Dam on topic Filename changed
    Hi Dim,
    It not just happens with Database, it also happens on Directory also
    Thanks
    Dam

    Please Log in or Create an account to join the conversation.

    • Dim Galan
    • Topic Author
    • Offline
    • Junior Member
    • Junior Member
    More
    4 years 8 months ago #133401 by Dim Galan
    Replied by Dim Galan on topic Filename changed
    Hi Dam,

    Just an update, I even changed collation to greek_general_ci for tables "#__edocman_documents" and "#__edocman_document_directory" but with no success.

    Still trying to solve...

    Thanks

    Please Log in or Create an account to join the conversation.

    • Dim Galan
    • Topic Author
    • Offline
    • Junior Member
    • Junior Member
    More
    4 years 8 months ago #133555 by Dim Galan
    Replied by Dim Galan on topic Filename changed
    Hi Dam,

    Have you had any chance to look at it? We are hoping to a solution to this.
    Unfortunately we are stuck here because If we go on, it will be a hell of a job to correct everything afterwards.

    Thanks

    Please Log in or Create an account to join the conversation.

    Moderators: Mr. Dam