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";
putenv("LANG=$loc");
setlocale (LC_ALL, 'de_DE');
echo "<br>".$producttext[2]; 
?>  

in XML file : producttext  has value like "für" ;


regards..
Shishir Kumar Mishra
Agni Software (P) Ltd.
www.agnisoft.com

Reply via email to