• 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
How does server decide what text encoding for response?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How does server decide what text encoding for response?


  • Subject: How does server decide what text encoding for response?
  • From: Jerry Krinock <email@hidden>
  • Date: Tue, 22 Jan 2008 15:37:29 -0800

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How does server decide what text encoding for response?
      • From: Quinn <email@hidden>
  • Prev by Date: How to create an auth model similar to the networking prefs?
  • Next by Date: Network Services Question
  • Previous by thread: Re: How to create an auth model similar to the networking prefs?
  • Next by thread: Re: How does server decide what text encoding for response?
  • Index(es):
    • Date
    • Thread