Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате
Форум программистов > PHP: Общие вопросы > ПЕРЕКОДИОВКА


Автор: chaos 6.8.2004, 13:59
Как реализовать конвертацию из DOS-кодировки в WIN-кодировку средствами ПХП

Автор: chaos 6.8.2004, 14:16
Все я нашел!!!
Код
string convert_cyr_string ( string str, string from, string to)

This function returns the given string converted from one Cyrillic character set to another. The from and to arguments are single characters that represent the source and target Cyrillic character sets. The supported types are:
k - koi8-r

w - windows-1251

i - iso8859-5

a - x-cp866

d - x-cp866

m - x-mac-cyrillic





Автор: Ignat 6.8.2004, 15:02
+ к этому
iconv();

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)