Special Characters

From: Date: Fri, 14 Mar 2003 20:21:47 +0000
Subject: Special Characters
Groups: php.db 
Request: Send a blank email to php-db+get-26387@lists.php.net to get a copy of this message
Hi I am a bit of a newbie to some of this... but I have an issue where I need to read in a file that contains German characters and display them in a browser.. It appears the german ß (ss) gets translated etc I have tried get_html_translation_table(HTML_ENTITIES) and htmlentities() I am using the latest PHP 4.3.2 on OSX My example code is: <?php $filename="/Library/WebServer/Documents/aointernational/datasource/test.xml"; $data = (file_get_contents($filename)); print $data; ?> Any help would be great! TIA Daz

« previous php.db (#26387) next »