This content has been marked as final.
Show 2 replies
-
1. Re: Changing the encoding of the data from a s:fileUpload
pete007 Mar 18, 2008 9:19 PM (in response to pete007)return new BufferedReader( new InputStreamReader( new ByteArrayInputStream(bytes), "windows-1252" ));
As far as I know, s:fileUpload can store the data in a BufferedReader too. Is there a parameter, that does the same thing as above? Otherwise, it would be nice to have one. ;)
Greetings, Pete
PS: cant find the page with the full explanations of all tags, google only brings up the refman.
-
2. Re: Changing the encoding of the data from a s:fileUpload
keithnaas Mar 18, 2008 10:23 PM (in response to pete007)You could also try
return new StringReader(new String(bytes, "windows-1252"));
http://docs.jboss.com/seam/2.0.1.GA/reference/en/html/controls.html