Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!not-for-mail From: "M. Strobel" Newsgroups: comp.lang.php Subject: Re: PHP Always Outputs Date: Tue, 17 Jul 2012 11:03:31 +0200 Lines: 32 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de rCdnn/5yn6K+ajIyF0IZDAStFcu6cn11VYpJDaXZxTYcJYjv+OmzPYvFpUIoK6cOM= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120601 Thunderbird/13.0 In-Reply-To: Xref: csiph.com comp.lang.php:6611 Am 17.07.2012 10:49, schrieb Tim Streater: > In article , > "=C3=81lvaro G. Vicario" wr= ote: >=20 >> El 16/07/2012 20:18, Tim Streater escribi=C3=B3/wrote: >> >> header('Content-Type: text/plain'); >> > >> > header ('Content-Type: text/plain; charset=3Dutf-8'); >> > >> > is better. >> >> To display an empty file? >=20 > I can do *that* by opening a new document in TextWrangler. But if I wan= t to do > something useful using SQLite, PHP, ajax, JavaScript, CSS, and HTML, I = eventually > figured out that using utf-8 throughout made my life a lot easier. Espe= cially as I > can convert any junk I receive *into* utf-8, using PHP tools. >=20 Of course AGV is making fun of the charset for an empty file, but apart f= rom that I wish the use of utf-8 were generally accepted. I just don't understand wh= y there is still so much iso-8859 in use, this charset is so limited. /Str.