PHP: setlocale in Windows 7

By | March 30, 2018
Questions:

I have problem with setlocale function in PHP 5.3 in Windows 7.

I need to set Russian locale with UTF-8 encoding. I saw some solutions where this is Russian_Russia.65001, but the function with this type of locale returns FALSE.

All solutions was designed for using in Windows XP where list of locales was in Control Panel. In Windows 7 this feature was removed.

Answers:

Leave a Reply

Your email address will not be published. Required fields are marked *