>    When uploading the same files with the PmWIki "upload" feature, this
> >    conversion does not appear to be made, and the files are uploaded
> as if
> >    they were binary files.
> >    Is there a way to change that ?
>
> PmWiki just uses PHP's built-in upload file feature to store files
> on disk, and this of course doesn't do any conversion.
>
> We could come up with a local function that performs conversion.
> How would PmWiki know when the conversion is to be performed?
> Should we look for a .txt extension, or...?
> Pm


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.

Maybe a configuration variable could hold an array with extensions a PmWiki
admin wants to have converted when uploaded ?

Christophe
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to