Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. public void handleFileUpload(FileUploadEvent event){
  2. String newName = new String(event.getFile().getFileName("ISO-8859-1").getBytes(), "UTF-8");
  3.  
  4. String newName = new String(event.getFile().getFileName("ISO-8859-1").getBytes(), "ISO-8859-9");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement