2007/5/8, Kapil Sharma <[EMAIL PROTECTED]>:
2. The attachment dialog box shows correct filename. Also saving the file to my local disk also is correct But when i try to open the file directly on clik of "open" button from dialog box, the name is %xx
I see, but does the program that you use to open the file work correctly? If yes I suppose you don't have to worry :-) 3.
>>fileName = new String(fileName.getBytes("ISO-8859-1"), "UTF-8"); I have done my jsp page encoding as UTF-8 but i suppose my JVM or server specific encoding is ISO-8859-1
I need to do String = new String(String.getBytes("ISO-8859-1"), "UTF-8");
before storing anything to the oracle database otherwise it appears junk whenever i try to get it on the screen
The String class is encoding-independent, so maybe it is a problem of correspondence between your JSP page header and the "meta" tag. You have to set both: <[EMAIL PROTECTED] pageEncoding="UTF-8"%> and: <html> <head> <META http-equiv="Content-Type" content="text/html;charset=UTF-8"> HTH Antonio