Hi All
| From: | Shishir Kumar Mishra | Date: | Wed, 23 Jul 2003 06:00:58 +0000 |
| Subject: | Hi All | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-156393@lists.php.net to get a copy of this message | ||
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