Update ICU to 37341
Update ICU to 37341

Make ICU call setlocale(LC_MESSAGES, NULL) instead of setlocale(LC_CTYPE, NULL) to
determine the default OS locale. If setlocale() fails, it'll refer to the
environment variables LC_ALL, LC_MESSAGES and LANG, in turn.

In addition, make ICU determine the default codepage using nl_langinfo(CODESET)
when it's available. If it fails, it falls back to setlocale(LC_CTYPE, NULL) and
the environment variables LC_ALL, LC_CTYPE and LANG in turn. This change doesn't
affect Chrome because Chrome does not use any ICU charset conversion API relying
on the default codepage.

BUG=19491
TEST=Run Chrome with the following environment variables set and sv_SE.UTF-8
locale installed. In all 4 cases, Swedish Chrome should be launched. The 3rd
and the 4th cases work without this change.
1. LC_ALL: unset, LANG=sv_SE.UTF-8, LC_CTYPE=en_US.UTF-8, LANGUAGE:unset
2. LC_ALL: unset, LC_MESSAGES=sv_SE.UTF-8, LC_CTYPE=en_US.UTF-8, LANGUAGE:unset
3. LC_ALL=sv_SE.UTF-8, LC_CTYPE=en_US.UTF-8, LANGUAGE: unset
4. LANGUAGE=sv:fr:en, LC_CTYPE=en_US.UTF-8
TBR=tony

Review URL: http://codereview.chromium.org/548176

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@37386 0039d316-1c4b-4281-b951-d872f2087c98

yitian134/chromium,gavinp/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,yitian134/chromium,adobe/chromium,yitian134/chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,Crystalnix/house-of-life-chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,ropik/chromium,adobe/chromium,yitian134/chromium,ropik/chromium,Crystalnix/house-of-life-chromium,ropik/chromium,yitian134/chromium,yitian134/chromium,gavinp/chromium,ropik/chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,ropik/chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,yitian134/chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,adobe/chromium,adobe/chromium,adobe/chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,ropik/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,yitian134/chromium,ropik/chromium,ropik/chromium,adobe/chromium,adobe/chromium,ropik/chromium,adobe/chromium,gavinp/chromium