[OT] File Encoding question again
[OT] File Encoding question again
- Subject: [OT] File Encoding question again
- From: Ute Hoffmann <email@hidden>
- Date: Sun, 4 Dec 2005 19:22:20 +0100
Hallo,
sorry, this is more a Java than a WebObjects Question...
Suppose a user loads up a file with data (cvs) which will be read in by
WebObjects and then parsed and sent to the database... How can I find
out which the encoding of the file provided by the user is?
Is there a test I can run on the string (or the file) which gives back
the current encoding? I could not find it in Javadoc. I can change the
encoding but I need to know which encoding the file came with, as far
as I understand it.
Is there a way to know? When the user exports from excel on a windows
machine he neither knows nor cares (nor could I find a way to tell
excel which encoding to use). But in Germany we have all those Umlauts
.... so we need to be careful with the encoding.
Any help would be very welcome.
Thanks,
Ute
And sorry for the off topic.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden