Subject RE: [Firebird-Java] Re: Unicode characters vs ibexpert, php and java
Author Rick Debay
Good catch. It's inspiring me to write a feature request for Mozilla to
save the HTTP header as meta-data for each GET when saving a page to
disk.

-----Original Message-----
From: Firebird-Java@yahoogroups.com
[mailto:Firebird-Java@yahoogroups.com] On Behalf Of Jim Starkey
Sent: Monday, May 23, 2005 11:33 AM
To: Firebird-Java@yahoogroups.com
Subject: Re: [Firebird-Java] Re: Unicode characters vs ibexpert, php and
java

Rick Debay wrote:

> The character encoding should be sent in the HTTP header, don't depend

> on META tags.
>
> http://www.w3.org/International/O-HTTP-charset
> "For PHP, use the header() function before generating any content,
e.g.:
> header("Content-Type: text/html; charset=utf-8");"
>
I'd suggest both. I agree that for browsers, an http header is the way
to go, but unless the <meta> tag is present, the page will be
undisplayable if saved in a file.

--

Jim Starkey
Netfrastructure, Inc.
978 526-1376





Yahoo! Groups Links