Hi, I should make a decision. Can anybody point me to some utf-8 specification document?
Thanks. Dmitry. > -----Original Message----- > From: Rob Richards [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 08, 2004 03:24 > To: Marcus Boerger; Dmitry Stogov > Cc: [EMAIL PROTECTED] > 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; > > } > > > -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php