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 #178683 is a reply to message #178677] Tue, 17 July 2012 08:49 Go to previous messageGo to previous message
Tim Streater is currently offline  Tim Streater
Messages: 328
Registered: September 2010
Karma:
Senior Member
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.

--
Tim

"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
[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: Sat Nov 30 03:23:03 GMT 2024

Total time taken to generate the page: 0.03848 seconds