setlocale (from the php.net manual)
setlocale — Set locale information
Note:
On Windows, setlocale(LC_ALL, ’’) sets the locale names from the system’s regional/language settings (accessible via Control Panel).
Return Values Note:
The return value of setlocale() depends on the system that PHP is running.
It returns exactly what the system setlocale function returns.
As i mentioned before, i’m experiencing this messup on my local testing platform.
OS:
Win7 | Server: XAMPP 1.7.3.
The MySQL db charset is set correctly to utf8 (utf8_general_ci).
The data that is showing wrong is not from the database as i understand, it’s the regional/language names given to the date functions by the OS (by windows).
lets say for example i was fine with the local regional settings of my server, then
when given (in the regional/language name from the OS, in whatever charset is to be) it’s outputting question marks, and then
iconv function is needed to show it in the right encoding of the regional name.
maybe adding a new setting for the setlocale(locale information) in the manager will be more bulletproof for this kind of issues?
hope i explained it clearer.
i feel like i’m saying the same over and over again

sorry for that.