<div dir="ltr"><div class="gmail_quote">On Thu, Aug 2, 2012 at 6:40 PM, Jörn Friedrich Dreyer <span dir="ltr"><<a href="mailto:jfd@owncloud.com" target="_blank">jfd@owncloud.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 02.08.2012 15:22, Frank Karlitschek wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi everyone,<br>
<br>
we have an interesting question where I would love to get some more opinions.<br>
<br>
The question is how ownCloud should handle special characters in filenames. ownCloud itself should work always with UTF8 and do proper encoding so that ownCloud can work with all possible characters.<br>
The problems are the underlying filesystems.<br>
<br>
So the ownCloud server can run on Windows/Linux/Mac servers with lot´s of different filesystems and we have clients for Windows/Linux/Mac/iOS/Android with more different filesystems. All this filesystems have limitation for allowed characters and handling of uppercase/lowercase filenames.<br>

</blockquote></div>
Personally, I think any filesystem that does not handle utf8 filenames should die and rot in hell. That beeing said, I would like to see owncloud use a storage backend like Apacke Jackrabbit (oh, there is a php implementation: <a href="http://jackalope.github.com/" target="_blank">http://jackalope.github.com/</a>) or git that stores files by their hash. But I also know that people already tried using git as a backend with large files which I was told did not perform well (I assume because the creation of hashes for large files tages ages, ~15sec for a 780MB mkv with md5sum -b. On the other hand, transferring 780MB over the wire certainly rakes longer than 15sec) And since we do not have background jobs with php we cannot create a cleanup job that creates the hashes from a temporary location an then moves the files to the correct location in the content repository. It would like to see a content repository, anyway.</blockquote>
<div><br></div><div>For MD5SUM, a stupid question if I may ask,  could the md5sum or any other checksum/hash be generated "on the fly" while the file is uploaded from sync client, web interface or webdav? This way, we don't need to spend additional IO cycles to upload and then hash. :)</div>
<div><br></div><div>-- </div></div>Emre<br>
</div>