<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> When uploading the same files with the PmWIki "upload" feature, this<br>> conversion does not appear to be made, and the files are uploaded as if<br>> they were binary files.<br>> Is there a way to change that ?
<br><br>PmWiki just uses PHP's built-in upload file feature to store files<br>on disk, and this of course doesn't do any conversion.<br><br>We could come up with a local function that performs conversion.<br>How would PmWiki know when the conversion is to be performed?
<br>Should we look for a .txt extension, or...?<br>Pm</blockquote></div></blockquote><div><br>
Many FTP clients allow to specify a list of extensions that are to be
considered as text files requiring the conversion of CR/LF depending on
the target.<br>
<br>
Maybe a configuration variable could hold an array with extensions a PmWiki admin wants to have converted when uploaded ?<br>
<br>
Christophe<br>
<br>
</div><br></div>