Re: php-xml
| From: | Curt Zirzow | Date: | Mon, 17 Nov 2003 15:36:58 +0000 |
| Subject: | Re: php-xml | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-169950@lists.php.net to get a copy of this message | ||
* Thus wrote pnp (pnp@softlab.ntua.gr):
> Hi, I'm developing a web site for a greek company and I want to show some
> greek texts from an xml file to an html page. The pages encoding is utf-8.
> So is the xml file and the xmlparses params. But the output is a bunch of
> ???????...
You need to set the charset for the document to a greek charset so
it knows how the characters are encoded. You also have to make sure
that that charset is on the computer viewing the page.
ie:
header('Content-Type: text/html; charset=ISO-8895-7');
Curt
--
"My PHP key is worn out"
PHP List stats since 1997:
http://zirzow.dyndns.org/html/mlists/