- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
There is a little problem with iconv in such using:
$mytext = iconv('windows-1251', 'utf-8', $mytext);
echo $mytext;
This code isn't work correctly. Solution is:
$mytext_utf = iconv('windows-1251', 'utf-8', $mytext);
echo $mytext_utf;
//or just
echo iconv('windows-1251', 'utf-8', $mytext);
ссылка: http://www.php.net/manual/en/function.iconv.php#83511
greevex 03.09.2009 23:13 # 0
guest 04.09.2009 03:11 # 0
zerkms 04.09.2009 03:12 # +1
greevex 05.09.2009 16:46 # 0
guest 04.09.2009 15:28 # −1
viktorious 04.09.2009 17:02 # −1
Правда, это вряд ли касается функции iconv.