Re: Reading in UTF-8 to Data
Re: Reading in UTF-8 to Data
- Subject: Re: Reading in UTF-8 to Data
- From: Brad Stone <email@hidden>
- Date: Fri, 16 Jul 2010 08:58:14 -0400
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.
On Jul 15, 2010, at 9:20 PM, Greg Guerin wrote:
> Brad Stone wrote:
>
>> Yes, quoted-printable. That's precisely it but in doing my research in the documentation and on the internet it doesn't seem like it's a simple process especially for someone like me with 9 months of Cocoa development experience.
>
>
> There is nothing apparent in your code that would cause quoted-printable to magically appear. If it's not your code, the next most obvious candidate is your data.
>
> Exactly where is your data coming from, and exactly how did it get there? Maybe you have a glitch somewhere along your data-production pathway, that's unexpectedly producing quoted-printable.
>
> That pathway includes all uploads, file-transfers, file copies, etc. It even includes any editor you used the last time you looked at the original XML file. If the editor is "helping" you by interpreting quoted-printable, then you might want to try something simpler, like the 'cat' command in Terminal.app, or even the 'hexdump -C' command. If you're not a Terminal person, HexFiend is your friend (google it).
>
> -- GG
> _______________________________________________
>
> 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
_______________________________________________
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