Some body test php6-dev version for mbs?
Some body test php6-dev version for mbs?
am 26.08.2009 19:56:47 von hack988 hack988
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)
==================== =====3D=
=============3D
echo "²â";
==================== =====3D=
=============3D
everything is ok in php5,php4 but a error tigger throw by php6
------------------------------------------------------------ ---------------
Warning: Illegal or truncated character in input: offset 0, state=3D0 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=3D0 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 ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Some body test php6-dev version for mbs?
am 27.08.2009 14:03:07 von hack988 hack988
Nobody Discuss with is title or I'm post to wrong mailing-list?
2009/8/27 hack988 hack988 :
> 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=3D0 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=3D0 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 ?
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Some body test php6-dev version for mbs?
am 27.08.2009 14:06:17 von Ashley Sheridan
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?
>=20
> 2009/8/27 hack988 hack988 :
> > 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)
> > ==================== ===3D=
===============3D
> > echo "æµ=8B";
> > ==================== ===3D=
===============3D
> > everything is ok in php5,php4 but a error tigger throw by php6
> >
> > ------------------------------------------------------------ -----------=
----
> > Warning: Illegal or truncated character in input: offset 0, state=3D0 i=
n
> > 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=3D0 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 ?
> >
>=20
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 General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Some body test php6-dev version for mbs?
am 27.08.2009 14:17:10 von hack988 hack988
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 :
> 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 :
>> > 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)
>> > ==================== ===3D=
===============3D
>> > echo "²â";
>> > ==================== ===3D=
===============3D
>> > everything is ok in php5,php4 but a error tigger throw by php6
>> >
>> > ------------------------------------------------------------ ----------=
-----
>> > Warning: Illegal or truncated character in input: offset 0, state=3D0 =
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=3D0 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 successfu=
l.
>> > 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 General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Some body test php6-dev version for mbs?
am 27.08.2009 14:19:22 von Ashley Sheridan
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 :
> > 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 :
> >> > 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 a=
nd
> >> > it hex string is B2E2 In GBK char-set)
> >> > ==================== ===
================
> >> > echo "æµ=8B";
> >> > ==================== ===
================
> >> > everything is ok in php5,php4 but a error tigger throw by php6
> >> >
> >> > ------------------------------------------------------------ --------=
-------
> >> > Warning: Illegal or truncated character in input: offset 0, state=3D=
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=3D0 in F:\Programming\Web\php\maillist\charset.php on line 2 P=
HP
> >> > 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 success=
ful.
> >> > 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
> >
> >
> >
> >
>=20
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
Re: Some body test php6-dev version for mbs?
am 27.08.2009 14:23:14 von hack988 hack988
I'm not sure,but one thing is that ,the code save as ANSI format will
throw Parse error in php6.
Sometime I don't like script run with unicode because of some system
environment limitation.
I'm make a spell mistake in before message :( (trow->throw).
Any boday have a solution for it?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Some body test php6-dev version for mbs?
am 27.08.2009 14:31:24 von hack988 hack988
Yes i kown that.
But so many codes, project that i programing or managed is write in
gb2312 or some mbs charset.If I change all of them to utf-8 charset,it
would cause so many unkown error or some logic error for codes.
2009/8/27 Ashley Sheridan :
> 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 :
>> > 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 :
>> >> > I'm try php6-dev recently.I found it had so many diffrent with olde=
r
>> >> > 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=
=3D0 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=3D0 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 succes=
sful.
>> >> > 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
RE: Some body test php6-dev version for mbs?
am 27.08.2009 15:03:38 von Mike Roberts
IEkgaGF2ZSByZW1vdmVkIG15c2VsZiBmcm9tIHRoaXMgbGlzdCBtdWx0aXBs ZSB0aW1lcyB0byBu
byBhdmFpbCwgZXZlbiBhdCB0aGUgZGlyZWN0aW9uIG9mICdtb3JlIGtub3ds ZWRnZWFibGUnIG1l
bWJlcnMgb2YgdGhlIGdyb3VwIHdobyBrbm93IGJldHRlciB0aGFuIEkgaG93 IHRvIGJlY29tZSBk
ZWxpc3RlZC4gTW9zdCBvZiB0aGUgdGltZSwgSSBoYXZlIHRoZSBtZXNzYWdl cyBnb2luZyB0byAn
SnVuayBNYWlsJywgYnV0IGFwcGFyZW50bHkgeW91cnMgc25lYWtlZCB0aHJv dWdoLiBJZiBhbnli
b2R5IHdpdGggc29tZSBhdXRob3JpdHkgY291bGQgc2ltcGx5IGRlbGV0ZSBt eSBhY2NvdW50ICgg
c2luY2UgZWl0aGVyIEkgaW5jYXBhYmxlLCBvciB0aGUgc3lzdGVtIGlzIGZs YXdlZCkgSSB3b3Vs
ZCBiZSBtb3N0IGdyYXRlZnVsLiANCg0KDQoNCg0KDQogU2luY2VyZWx5LA0K DQogTWljaGFlbCBS
b2JlcnRzDQogQ2l2aWwgRW5naW5lZXJpbmcgRXhlY3V0aXZlIFJlY3J1aXRl cg0KIENvcnBvcmF0
ZSBTdGFmZmluZyBTZXJ2aWNlcw0KIDE1MCBNb251bWVudCBSb2FkLCBTdWl0 Z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BIUCBzY3JpcHQgc2F2 ZWQgYXMgYSB1ZnQ4
IGZpbGU/IFNvbWUgdGV4dCBlZGl0b3JzIHdpbGwgc2F2ZSBpbg0KPiA+IEFT Q0lJIGJ5IGRlZmF1
bHQuDQo+ID4NCj4gPiBUaGFua3MsDQo+ID4gQXNoDQo+ID4gaHR0cDovL3d3 dy5hc2hsZXlzaGVy
aWRhbi5jby51aw0KPiA+DQo+ID4NCj4gPg0KPiA+DQo+IA0KUEhQIDYgaGFz IG5hdGl2ZSB1dGY4
IHN1cHBvcnQgSSBiZWxpZXZlLCBidXQgeW91ciBQSFAgZmlsZXMgbmVlZCB0 byBhbHNvDQpiZSBz
YXZlZCBjb3JyZWN0bHkgaW50byB1dGY4LiBBbHNvLCB5b3UgbWlnaHQgd2Fu dCB0byBzZXQgdGhl
IG91dHB1dA0KaGVhZGVycy4NCg0KVGhhbmtzLA0KQXNoDQpodHRwOi8vd3d3 LmFzaGxleXNoZXJp
ZGFuLmNvLnVrDQoNCg0KDQoNCi0tIA0KUEhQIEdlbmVyYWwgTWFpbGluZyBM aXN0IChodHRwOi8v
d3d3LnBocC5uZXQvKQ0KVG8gdW5zdWJzY3JpYmUsIHZpc2l0OiBodHRwOi8v d3d3LnBocC5uZXQv
dW5zdWIucGhwDQoNCg==
Re: Some body test php6-dev version for mbs?
am 29.08.2009 07:47:24 von hack988 hack988
nobody have a solution for no-unicode php script with MBCS (Multiple
Byte Character Set) run on php6?
I have an wrong spelling for MBCS in OM.:(
2009/8/27 hack988 hack988 :
> =A0I'm not sure,but one thing is that ,the code save as ANSI format will
> throw Parse error in php6.
> Sometime I don't like script run with unicode because of some system
> environment limitation.
> I'm make a spell mistake in before message :( (trow->throw).
> Any boday have a solution for it?
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php