• 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
Re: converting text input in any encoding to unicode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: converting text input in any encoding to unicode


  • Subject: Re: converting text input in any encoding to unicode
  • From: Marcel Weiher <email@hidden>
  • Date: Mon, 28 Apr 2003 15:49:01 +0200

On Sunday, April 27, 2003, at 04:17 Uhr, Ben Dougall wrote:


In order to do that, you'd need to have some idea of what encoding the text is in. You can try to discern some encodings, but others will be impossible to differentiate just from looking at the text itself.

surely most (all?) text files not only contains which characters it contains but which encoding they're in? i'd have thought that was a standard requirement for text?

Nope. Plain text files have no information indicating their encoding whatsoever. You can (a) guess (b) ask (c) restrict yourself to specific file formats that do indicate (or mandate) a specific encoding.

Have fun ;-)

--
Marcel Weiher Metaobject Software Technologies
email@hidden www.metaobject.com
Metaprogramming for the Graphic Arts. HOM, IDEAs, MetaAd etc.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: converting text input in any encoding to unicode (From: Ben Dougall <email@hidden>)

  • Prev by Date: Re: Reponsiveness of application
  • Next by Date: WeakCache?
  • Previous by thread: Re: converting text input in any encoding to unicode
  • Next by thread: Re: converting text input in any encoding to unicode
  • Index(es):
    • Date
    • Thread