Re: PHP Always Outputs [message #178695 is a reply to message #178684] |
Tue, 17 July 2012 14:58 |
Peter H. Coffin
Messages: 245 Registered: September 2010
Karma:
|
Senior Member |
|
|
On Tue, 17 Jul 2012 11:03:31 +0200, M. Strobel wrote:
> Am 17.07.2012 10:49, schrieb Tim Streater:
>
>> In article <ju34au$aem$1(at)dont-email(dot)me>, "??lvaro G. Vicario"
>> <alvaro(dot)NOSPAMTHANX(at)demogracia(dot)com(dot)invalid> wrote:
>>
>>> El 16/07/2012 20:18, Tim Streater escribi??/wrote:
>>>
>>>> > header('Content-Type: text/plain');
>>>>
>>>> header ('Content-Type: text/plain; charset=utf-8');
>>>>
>>>> is better.
>>>
>>> To display an empty file?
>>
>> I can do *that* by opening a new document in TextWrangler. But if I
>> want 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. Especially as I can convert any junk I receive
>> *into* utf-8, using PHP tools.
>
> Of course AGV is making fun of the charset for an empty file, but
> apart from that I wish the use of utf-8 were generally accepted. I
> just don't understand why there is still so much iso-8859 in use, this
> charset is so limited.
Inertia and lack of awareness.
--
_ o
|/)
|
|
|