• 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: Reading in UTF-8 to Data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading in UTF-8 to Data


  • Subject: Re: Reading in UTF-8 to Data
  • From: Thomas Engelmeier <email@hidden>
  • Date: Fri, 16 Jul 2010 19:00:05 +0200

Am 16.07.2010 um 14:58 schrieb Brad Stone:

> The XML file is from an app I wrote a long time ago and contains thousands of documents similar to this one.  Once Nick mentioned quotable-printable I remembered I used that.  It was so long ago I had forgotten.  There are many users that use the app and each of them have hundreds, if not thousands, of individual XML files and they need this functionality.  My last resort would be to send out update for the old app to all the users to reprocess their XML files w/o the quoted-printable but you know how that will go.  If I could only get Cocoa to do it I'd be done.

Run, don't walk, and find some code snippet that removes the bizarre QP reencoding from the data you get reading your XML, and don't reapply it saving (except in a backward compatibility mode for non-upgrading users).

The whole idea of UTF-8 is to be able to represent about any glyph imaginable without requiring reencoding, and UTF8-encoded XML deals pretty well with it besides the requirement to escape "'<&> under certain circumstances._______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Reading in UTF-8 to Data
      • From: Brad Stone <email@hidden>
References: 
 >Re: Reading in UTF-8 to Data (From: Greg Guerin <email@hidden>)
 >Re: Reading in UTF-8 to Data (From: Brad Stone <email@hidden>)

  • Prev by Date: Re: Reading in UTF-8 to Data
  • Next by Date: modal loops & memory
  • Previous by thread: Re: Reading in UTF-8 to Data
  • Next by thread: Re: Reading in UTF-8 to Data
  • Index(es):
    • Date
    • Thread