Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How does server decide what text encoding for response?



Yes, it's a very weird topic, but I can't think of a more on-topic forum in which to post this.

My app retrieves an rss feed of Google Bookmarks from

http://google.com/bookmarks?output=rss

Now, when I send this, I get back a feed that is encoded UTF8. But I've got one user, also here in western USA, who sent me a log proving that Google sends him a feed encoded ISO-8859-1 when he logs into one of ^^my^^ Google accounts (for which I gave him my password). That is, his feed begins like this:

<?xml version="1.0" encoding="ISO-8859-1"?>

So, we have two Macs, his and mine, both in western USA, both querying the same Google account. Google sends my Mac UTF8, but sends his Mac ISO-8859-1. Repeatable. How can this be? Does the URL Loading System add anything to a request under the hood which might cause Google to think that he wants ISO-8859-1 instead of UTF8?

That would be odd, since this user is Korean-American. Although his top language in System Preferences > International is English, he has more boxes checked in the "Input" tab than I do.

Jerry Krinock
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.