nitter
Henri Sivonen
@hsivonen
9 Sep 2016
nsDateTimeFormatUnix calls C standard lib setlocale(), which affects all threads. Luckily, all in-tree callers want the current UI locale.
2
1
L. David Baron @dbaron@w3c.social
@davidbaron
9 Sep 2016
Replying to
@hsivonen
... except for all the callers that are accidentally using locale-sensitive functions when they didn't mean to
Sep 9, 2016 · 5:14 PM UTC
1
Henri Sivonen
@hsivonen
9 Sep 2016
Replying to
@davidbaron
.
@davidbaron
Then there is nsCollationUnix, which calls setlocale() with a locale selectef by Web content (XPath).