Hi All,
I am using commons-cileUpload1.2.jar.
FileItem.getName() not giving arabic file name which is uploaded.
I am using the following code to get the file name.
Iterator iter = fileItems.iterator();
while (iter.hasNext()) {
FileItem item = (FileItem) iter.next();
if(!item.isFormField()){
String fieldName = item.getFieldName();
String fileName = item.getName();
}
}
For English it is working fine. For arabic I am getting junk character like,
E:\���.txt.
Is there any encoding support api which is give arabic file name?
Please help on the same.
Thanks & Regards.
ARUN KUMAR S