FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PHP Always Outputs
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: PHP Always Outputs [message #178684 is a reply to message #178683] Tue, 17 July 2012 09:03 Go to previous messageGo to previous message
M. Strobel is currently offline  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.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Business Developer for IT company
Next Topic: decode encoded url
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 29 13:11:47 GMT 2024

Total time taken to generate the page: 0.04766 seconds