Re: Convert UTF-8 to PHP defines
| From: | Ashley Sheridan | Date: | Fri, 28 May 2010 06:27:10 +0000 |
| Subject: | Re: Convert UTF-8 to PHP defines | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-305606@lists.php.net to get a copy of this message | ||
On Fri, 2010-05-28 at 11:51 +0800, Guus Ellenkamp wrote:
> I would like if you stick to the original issue: can a PHP source file be in
> utf-8. It's not about the output, that is properly supported.
>
> Think it would be a good idea anyhow that PHP would support utf-8 source
> files as it seems utf-8 is going to be the de-facto standard for text files
> anyhow.
>
> "Ashley Sheridan" <ash@ashleysheridan.co.uk> wrote in message
> news:1274988834.2202.285.camel@localhost...
> > On Thu, 2010-05-27 at 15:28 -0400, Bob McConnell wrote:
> >
> >> From: tedd
> >>
> >> > The Unicode database uses the same lower
> >> > character values (i.e., "code points") as does
> >> > ASCII, namely 0-127, and thus UFT-8 (8-bit
> >> > variable width encoding) is really a super-set
> >> > which includes the sub-set of ASCII.
> >> >
> >> > The "Wingdings" font that Ash refers to is the
> >> > really the "Dingbat" char set in Unicode, as
> >> > shown here:
> >> >
> >> > The use of UFT-8 encoding in everything (web and
> >> > php) should present much less problems globally
> >> > than it is trying to fight it.
> >>
> >> Thanks tedd,
> >>
> >> The real question is whether unicode is even relevant now that the UTF
> >> series is available. I see no reason to have to deal with two competing
> >> "specifications", when one of them is more than adequate for the job and
> >> the other is not even finished yet. That's like the old days when a few
> >> users demanded we support both ASCII and EBCDIC. That didn't get very
> >> far either.
> >>
> >> Bob McConnell
> >>
> >
> >
> > Bob, UTF is unicode (Unicode Transformation Format)
> >
> > Interesting enough to note, and not sure if Tedd knows this or not (he
> > probably does!) but Chrome has a nice feature for those punycode URLs;
> > it suggests the actual real URL instead once you type the domain in. Not
> > sure about Safari right now, couldn't be bothered to fire up a VM just
> > to check. I would assume Firefox handles these URLs well enough too.
> >
> > Tedd, does that URL actually go anywhere, as I got nothing when I tried
> > visiting it, both the actual URL and the punycode version.
> >
> > Thanks,
> > Ash
> > http://www.ashleysheridan.co.uk
> >
> >
> >
>
>
>
Yes is the quick answer.
There's no better way than to try it yourself.
Thanks,
Ash
http://www.ashleysheridan.co.uk