Special Characters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux