# Locale

- Thread: https://externals.io/message/4362
- Original archive: https://news-web.php.net/php.internals/4362
- Started by Wojtek Meler on 2003-09-03T09:04:32+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #4362 — Wojtek Meler — 2003-09-03T09:04:32+00:00

URL: https://externals.io/message/4362#4362

I wonder if it is "by design" that PHP don't read all LC_* settings from 
environment.
In main/main.c we read `LC_CTYPE` only. I think at least `LC_COLLATE` also 
should be read.
 `strcoll()` behavior relay on this - strings are not properly compared.
Maybe we can read all bu `LC_NUMERIC` settings from environment

Regards,
Wojtek
