RE: [PHP-CVS] cvs: php-src /ext/soap php_encoding.c
| From: | Dmitry Stogov | Date: | Wed, 08 Sep 2004 05:59:28 +0000 |
| Subject: | RE: [PHP-CVS] cvs: php-src /ext/soap php_encoding.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-28591@lists.php.net to get a copy of this message | ||
Hi,
I should make a decision.
Can anybody point me to some utf-8 specification document?
Thanks. Dmitry.
> -----Original Message-----
> From: Rob Richards [mailto:rrichards@php.net]
> Sent: Wednesday, September 08, 2004 03:24
> To: Marcus Boerger; Dmitry Stogov
> Cc: php-cvs@lists.php.net
> Subject: Re: [PHP-CVS] cvs: php-src /ext/soap php_encoding.c
>
>
> utf-8 is now limited to 4 bytes so imo it should be left as is.
>
> Rob
>
> ----- Original Message -----
> From: Marcus Boerger
>
> > that's missing a few lines:
> >
> > } else if ((c & 0xfc) == 0xf8) {
> > if ((s[i++] & 0xc0) != 0x80 ||
> (s[i++] & 0xc0)
> > !=
> 0x80 || (s[i++] & 0xc0) != 0x80 || (s[i++] & 0xc0) != 0x80) {
> > return 0;
> > }
> > } else if ((c & 0xfe) == 0xfc) {
> > if ((s[i++] & 0xc0) != 0x80 ||
> (s[i++] & 0xc0)
> > !=
> 0x80 || (s[i++] & 0xc0) != 0x80 || (s[i++] & 0xc0) != 0x80 ||
> (s[i++] &
> 0xc0) != 0x80) {
> > return 0;
> > }
>
>
>