Re: cvs: php-src /ext/soap php_encoding.c

From: Date: Tue, 07 Sep 2004 23:24:28 +0000
Subject: Re: cvs: php-src /ext/soap php_encoding.c
References: 1 2  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-28587@lists.php.net to get a copy of this message
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; > }

« previous php.cvs (#28587) next »