• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[OT] File Encoding question again
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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


  • Follow-Ups:
    • Re: [OT] File Encoding question again
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Creating PDF output on demand
  • Next by Date: Re: Creating PDF output on demand
  • Previous by thread: Re: Multiple many-to-many with single-table inheritance
  • Next by thread: Re: [OT] File Encoding question again
  • Index(es):
    • Date
    • Thread