[bug 836277] Activate locale when parsing.