Geoff Howard wrote: >Vadim, >--- Vadim Gritsenko <[EMAIL PROTECTED]> >wrote: > > >>Geoff Howard wrote: >> >>... >> >> >> >>>>3.) Sort out the character encoding between the >>>> >>>> >>file >> >> >>>>content sent by the >>>>browser >>>>and what the servlet expects. >>>> >>>> >>>> >>Isn't file sent by browser in binary form (IIRC, in >>base64 encoding)? I >>guess it is, thus no conversion need to be done >>(especially for >>zip/jpeg/etc files). And if you are transferring >>XML, also no re-coding >>needed because XML will contain peoper encoding in >>the XML prologue - >>re-coding will just break the file. >> >> >> >I thought this as well, but figured I was missing >something. > >BTW, I have a patch here you sent to users for >handling filenames from windows to *nix (they were >being saved with complete path info). At the time it >sounded like you were checking it into CVS but I don't >see it now. >
It is in CVS. See FilePartFile.java, fixed both in 203 and 21. Vadim > If you don't still have it, I can send it >back to you or put it in through bugzilla. > >Geoff > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]