News for hackers. Stuff that matters.
Re:Apple: We're not handing over Safari URLs to Tencent, jus... by bri3d on Monday October 14, 2019 @09:58PM (#21254897)
Locale region, not language. Important distinction. For example I don’t believe Tencent would be used in Hong Kong (zh_HK).
Re:Apple: We're not handing over Safari URLs to Tencent, jus... by uto on Monday October 14, 2019 @11:14PM (#21255258)
They already started censoring the emoji keyboard in HK, this would be even easier to justify as it is "protecting the user".
Re:Apple: We're not handing over Safari URLs to Tencent, jus... by fishywang on Tuesday October 15, 2019 @01:16AM (#21255737)
There's no zh_US (or zh_UK, etc.), so any mainlander living overseas and still use Chinese as the preferred language on their iPhones will get their IP address sent to Tencent. There's not much difference here.
Re:Apple: We're not handing over Safari URLs to Tencent, jus... by dchest on Tuesday October 15, 2019 @02:41AM (#21256082)
There is zh_US in Apple universe: on iOS/Mac language identifier depends on Language (zh) and Region settings (US).

So, if you set Traditional Chinese for language and United States for region (https://developer.apple.com/library/archive/documentation/Ma...), [[NSLocale currentLocale] countryCode] (which Apple compares to "CN" for this feature according to this comment https://news.ycombinator.com/item?id=21242628) will return US, and [[NSLocale currentLocale] localeIdentifier] will return zh_US.

localeIdentifier also returns some other interesting things, e.g. mine is "en_US@currency=EUR", because I customized Region formats.

Re:Apple: We're not handing over Safari URLs to Tencent, jus... by fishywang on Tuesday October 15, 2019 @05:59PM (#21264386)
Average users aren't aware of its existence. Also for a lot of mainlanders living in the US they won't prefer to set their region to US because that means imperial units instead of metrics units.
Re:Apple: We're not handing over Safari URLs to Tencent, jus... by dchest on Wednesday October 16, 2019 @04:26AM (#21268233)
What do you mean they are not aware of it? Selecting language AND country is the first action when setting up an iPhone.

(Can't argue with the second point.)

Re:Apple: We're not handing over Safari URLs to Tencent, jus... by fishywang on Wednesday October 16, 2019 @01:21PM (#21272881)
Oh I guess I misremembered. Sorry. The last time I setup a Mac to non en_US was a lot of years ago (I never used iOS devices).