Shishir Kumar Mishra wrote:
Hi All,
I am reading one XML which has some german characters. I am sending this data to PHP script but when try to echo ;it prints some other character.
eg. XML has für but output is coming like für ;
My script is like following:
?php
$loc = UTF-8;
my ISP doesn´t support natcasesort(),
can anybody tell me how to write a cmp function?
I couldn´t find a documentaton about it.
function usort_text($value1, $value2){
if ($value1 == $value2){
$result = 0;
}
elseif ($value1 $value2){
$result = -1;
}
else{ #
2 matches
Mail list logo