Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- setlocale(LC_TIME, 'rus_RUS');
- $date = '2013-01-01';
- $utf8 = strftime("%A, %d/%m/%Y", strtotime($date));
- echo"utf8 = $utf8";
- utf8 = �������, 01/01/2013
- $textwin1251 = iconv('windows-1251', 'UTF-8', $ut8);
- echo $textwin1251;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement