RE: [PHP]Some body test php6-dev version for mbs?
| From: | Mike Roberts | Date: | Thu, 27 Aug 2009 13:03:38 +0000 |
| Subject: | RE: [PHP]Some body test php6-dev version for mbs? | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-297360@lists.php.net to get a copy of this message | ||
I have removed myself from this list multiple times to no avail, even at the direction of
'more knowledgeable' members of the group who know better than I how to become delisted.
Most of the time, I have the messages going to 'Junk Mail', but apparently yours sneaked
through. If anybody with some authority could simply delete my account ( since either I incapable,
or the system is flawed) I would be most grateful.
Sincerely,
Michael Roberts
Civil Engineering Executive Recruiter
Corporate Staffing Services
150 Monument Road, Suite 510
Bala Cynwyd, PA 19004
P 610-771-1084
F 610-771-0390
E mroberts@jobscss.com
-----Original Message-----
From: Ashley Sheridan [mailto:ash@ashleysheridan.co.uk]
Sent: Thursday, August 27, 2009 8:19 AM
To: hack988 hack988
Cc: PHP General List
Subject: Re: [PHP]Some body test php6-dev version for mbs?
On Thu, 2009-08-27 at 20:17 +0800, hack988 hack988 wrote:
> I'm not sure,but one thing is that ,the code save as ANSI format will
> trow Parse error in php6.
> Sometime I don't like script run with unicode because of some system
> environment limitation.
> 2009/8/27 Ashley Sheridan <ash@ashleysheridan.co.uk>:
> > On Thu, 2009-08-27 at 20:03 +0800, hack988 hack988 wrote:
> >> Nobody Discuss with is title or I'm post to wrong mailing-list?
> >>
> >> 2009/8/27 hack988 hack988 <hack988@dev.htwap.com>:
> >> > I'm try php6-dev recently.I found it had so many diffrent with older
> >> > versions.I'll discuss with everybody in later:)
> >> > now i have a problem in php6-dev
> >> >
> >> > codes follow:(warning:this code include some no-english characters and
> >> > it hex string is B2E2 In GBK char-set)
> >> > ======================================
> >> > echo "测";
> >> > ======================================
> >> > everything is ok in php5,php4 but a error tigger throw by php6
> >> >
> >> > ---------------------------------------------------------------------------
> >> > Warning: Illegal or truncated character in input: offset 0, state=0 in
> >> > F:\Programming\Web\php\maillist\charset.php on line 2
> >> >
> >> > Parse error: parse error in
> >> > F:\Programming\Web\php\maillist\charset.php on line 2
> >> > PHP Warning: Illegal or truncated character in input: offset 0,
> >> > state=0 in F:\Programming\Web\php\maillist\charset.php on line 2 PHP
> >> > Parse error: parse error in
> >> > F:\Programming\Web\php\maillist\charset.php on line 2
> >> > ---------------------------------------------------------------------------
> >> >
> >> > I must change the php file's char-set to utf-8 for codes run successful.
> >> > Attention! Gmail's default charset is utf-8 so if any body to test
> >> > code please change the file's char-set to ansi
> >> > Any body know how use no utf-8 char-set in php6 with no-ascii char ?
> >> >
> >>
> > Is the PHP script saved as a uft8 file? Some text editors will save in
> > ASCII by default.
> >
> > Thanks,
> > Ash
> > http://www.ashleysheridan.co.uk
> >
> >
> >
> >
>
PHP 6 has native utf8 support I believe, but your PHP files need to also
be saved correctly into utf8. Also, you might want to set the output
headers.
Thanks,
Ash
http://www.ashleysheridan.co.uk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php