Re: PHP Always Outputs [message #178684 is a reply to message #178683] |
Tue, 17 July 2012 09:03 |
M. Strobel
Messages: 386 Registered: December 2011
Karma:
|
Senior Member |
|
|
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.
/Str.
|
|
|