hello friends,
I have a file which I use for extracting information using Servlets.
The contents of the file can be in any encoding format( say BIG5, Ascii,
or japanese). I need a way to find out the encoding format of this file
and retrieve the values from it and save it in the database in Unicode
format.(i.e I want to store the characters or strings as Unicode strings
in Database)..... Can I do this without knowing the encoding of the file
that I use?......ie. when I read the file using a reader which encoding
should I specify ? ( I do not know the encoding of the file).....
Is there some way we can find out the encoding on which a file was
written ?
Any help will be appreciated,
regards,
Sunil.
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html