Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Attachment file names encoding, posted by Alexander Nozik on Mon Oct 28 11:21:19 2013 
    icon2.gif   Re: Attachment file names encoding, posted by Andreas Luedeke on Tue Oct 29 12:04:44 2013 
       icon2.gif   Re: Attachment file names encoding, posted by Alexander Nozik on Wed Oct 30 10:15:13 2013 
Message ID: 67593     Entry time: Wed Oct 30 10:15:13 2013     In reply to: 67592
Icon: Reply  Author: Alexander Nozik  Author Email: altavir@gmail.com 
Category: Question  OS: Linux  ELOG Version: 2.9.2-2455 
Subject: Re: Attachment file names encoding 
Thank you for reply.

I am not very experienced linux user so it could be a problem with the file system. Let me just describe what I do and what I see as a result.

I created a new elog just for the testing purpose, it has "Charset = koi8-r" line in the config file. Than I post a new entry to this elog with russian text and a file with russian file name from windows (so I expect that charset is cp1251). Now I open this entry. The text is fine and the filename is fine on the page (the same russian text I expect to see), but when I try to download it, the actual file name is broken and to restore it I need koi8-r -> cp1252 transformation. The file itself is readable.
If I look in the actual logbook directory, then in the entry file the file name is readable (entry file encoding is koi8-r), but the attachment file name contains many "?" and not readable by file system.

So first my question is what happened to the file name incoding in a logbook directory, and the second one: what should I do to make attachments download as they were uploaded?

Thank you in advance.
ELOG V3.1.5-fe60aaf