Re: [v8-dev] Re: Where "locale" variable comes from? Having "Failed to create ICU number format, are ICU data files missing?"

2018-06-07 Thread dev
Not sure it's right place to check but in LazyInitIcuDataFile () all the variables are not set (both in Debug and Release build): char* lc_messages = getenv("LC_MESSAGES"); std::string

Re: [v8-dev] Re: Where "locale" variable comes from? Having "Failed to create ICU number format, are ICU data files missing?"

2018-06-07 Thread dev
I will check it, thanks Ben! On Thursday, June 7, 2018 at 1:49:36 PM UTC+5, Ben Noordhuis wrote: > > On Thu, Jun 7, 2018 at 9:16 AM, > > wrote: > > That's weird. I've checked udata_setCommonData to be called succesfully. > > However in Release build i can see default_locale is received wrong:

Re: [v8-dev] Re: Where "locale" variable comes from? Having "Failed to create ICU number format, are ICU data files missing?"

2018-06-07 Thread Ben Noordhuis
On Thu, Jun 7, 2018 at 9:16 AM, wrote: > That's weird. I've checked udata_setCommonData to be called succesfully. > However in Release build i can see default_locale is received wrong: > "en_US_POSIX" and then converted to "en-US". ICU queries `setlocale(LC_MESSAGES, NULL)` and the LANG,

[v8-dev] Re: Where "locale" variable comes from? Having "Failed to create ICU number format, are ICU data files missing?"

2018-06-07 Thread dev
The only suspicion is switching to static/dynamic build in ICU BUILD.gn: https://cs.chromium.org/chromium/src/third_party/icu/BUILD.gn?l=37 Any other ideas? On Thursday, June 7, 2018 at 12:16:29 PM UTC+5, d...@antonsmirnov.name wrote: > > That's weird. I've checked udata_setCommonData to be

[v8-dev] Re: Where "locale" variable comes from? Having "Failed to create ICU number format, are ICU data files missing?"

2018-06-07 Thread dev
That's weird. I've checked udata_setCommonData to be called succesfully. However in Release build i can see default_locale is received wrong: "en_US_POSIX" and then converted to "en-US". On Saturday,