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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to