Hi all,

i have a problem with the encoding of the filename.

to get the correct characters (e.g. german umlauts) i need to recode the
filename:

  String encoding = request.getCharacterEncoding();
  String fileName = new String(item.getName().getBytes(), encoding);

note: in my app the encoding is always utf-8.

the file content is correct encoded without any recoding.

This workarround works in version 1.0, not in 1.1 but in 1.2 again.
In version 1.1 i can't find a way to get the correct encoding.

is there a bug in fileupload or do i miss something?



Regards,
  Volker

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to