Usage function of encoding converter on text to any format. Often its using to convert text from windows-1251 to utf-8
function convertText($string) { $utf = “UTF-8″; $wincp =”CP1251″; $text = iconv($utf,$wincp,$string); return $text; }
what is the difference between, windows-1251 and utf-8.
utf-8 is general webpage encoding no?