<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;">
&gt;&nbsp;&nbsp;&nbsp;&nbsp;When uploading the same files with the PmWIki &quot;upload&quot; feature, this<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;conversion does not appear to be made, and the files are uploaded as if<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;they were binary files.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;Is there a way to change that ?
<br><br>PmWiki just uses PHP&#39;s built-in upload file feature to store files<br>on disk, and this of course doesn&#39;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&nbsp; 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>
&nbsp;</div><br></div>