{"id":2610,"date":"2011-02-18T14:50:27","date_gmt":"2011-02-18T13:50:27","guid":{"rendered":"http:\/\/daniel.haxx.se\/blog\/?p=2610"},"modified":"2011-03-30T09:28:18","modified_gmt":"2011-03-30T07:28:18","slug":"today-i-am-chinese","status":"publish","type":"post","link":"https:\/\/daniel.haxx.se\/blog\/2011\/02\/18\/today-i-am-chinese\/","title":{"rendered":"Today I am Chinese"},"content":{"rendered":"<p><a href=\"http:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2011\/02\/desktop.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-medium wp-image-2611\" title=\"Google thinks I'm Chinese\" src=\"http:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2011\/02\/desktop-300x268.png\" alt=\"Google thinks I'm Chinese\" width=\"300\" height=\"268\" srcset=\"https:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2011\/02\/desktop-300x268.png 300w, https:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2011\/02\/desktop-150x134.png 150w, https:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2011\/02\/desktop-1024x915.png 1024w, https:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2011\/02\/desktop.png 1057w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>I&#8217;m going about my merry life and I use google every day.<\/p>\n<p>Today Google decided I&#8217;m in China and redirects me to google.com.hk and it shows me all text in Chinese. It&#8217;s just another proof how silly it is trying to use the IP address to figure out location (or even worse trying to guess language based on IP address).<\/p>\n<p>Click on the image to get it in its full glory.<\/p>\n<p>I haven&#8217;t changed anything locally, but it seems Google has updated (broken) their database somehow.<\/p>\n<p>Just to be perfectly sure my browser isn&#8217;t playing any tricks behind my back, I snooped up the headers sent in the HTTP request and there&#8217;s nothing notable:<\/p>\n<pre>GET \/complete\/search?output=firefox&amp;client=firefox&amp;hl=en-US&amp;q=rockbox HTTP\/1.1\r\nHost: suggestqueries.google.com\r\nUser-Agent: Mozilla\/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko\/20101209 Fedora\/3.6.13-1.fc13 Firefox\/3.6.13\r\nAccept: text\/html,application\/xhtml+xml,application\/xml;q=0.9,*\/*;q=0.8\r\nAccept-Language: en-us,en;q=0.5\r\nAccept-Encoding: gzip,deflate\r\nAccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nKeep-Alive: 115\r\nConnection: keep-alive\r\nCookie: PREF=ID=dc410 [truncated]<\/pre>\n<p>Luckily, I know about the URL &#8220;google.com\/ncr&#8221; (No Country Redirect) so I can still use it, but not through my browser&#8217;s search box&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m going about my merry life and I use google every day. Today Google decided I&#8217;m in China and redirects me to google.com.hk and it shows me all text in Chinese. It&#8217;s just another proof how silly it is trying to use the IP address to figure out location (or even worse trying to guess &hellip; <a href=\"https:\/\/daniel.haxx.se\/blog\/2011\/02\/18\/today-i-am-chinese\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Today I am Chinese<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[45],"tags":[89,230,426],"class_list":["post-2610","post","type-post","status-publish","format-standard","hentry","category-web","tag-funny","tag-http","tag-web"],"_links":{"self":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts\/2610","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/comments?post=2610"}],"version-history":[{"count":9,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts\/2610\/revisions"}],"predecessor-version":[{"id":2710,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts\/2610\/revisions\/2710"}],"wp:attachment":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/media?parent=2610"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/categories?post=2610"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/tags?post=2610"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}