Re: Some body test php6-dev version for mbs?
| From: | hack988 hack988 | Date: | Thu, 27 Aug 2009 12:03:07 +0000 |
| Subject: | Re: Some body test php6-dev version for mbs? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-297347@lists.php.net to get a copy of this message | ||
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 ?
>