Re: [PHP-DEV] PHP6, Unicode for language functions, classes,methods, vars names

2005-09-14 Thread Makoto Tozawa
Jani Taskinen wrote: Show me one such person please. One that does this using PHP. :) One that really NEEDS this to be possible.. It's impossible to find one as PHP doesn't support it today. Think of defining a class which encapsulates a database table, and the table name and column n

Re: [PHP-DEV] character/byte semantics was Re: PHP Unicode support design document-keeping existing functionality

2005-08-26 Thread Makoto Tozawa
ginal Message- From: Makoto Tozawa [mailto:[EMAIL PROTECTED] Sent: Thursday, August 25, 2005 5:30 PM To: Tex Texin Cc: 'Andrei Zmievski'; [EMAIL PROTECTED]; 'PHP Developers Mailing List' Subject: Re: [PHP-DEV] Re: PHP Unicode support design document-keeping existing functional

Re: [PHP-DEV] Re: PHP Unicode support design document-keeping existing functionality

2005-08-25 Thread Makoto Tozawa
> If we don't make the functions provide reasonable behavior for unicode, then every program needs to be rewritten to change function names. I agree. I asked it because the Backwards Compatibility section states the following: "... the upgrade to Unicode-enabled PHP has to be transparent. Thi

Re: [PHP-DEV] Re: PHP Unicode support design document

2005-08-25 Thread Makoto Tozawa
Tex Texin wrote: I wrote a little test php program that has 2 identical forms. You enter text in either form and it posts and displays the hex codes for the bytes. The first form does not set accept-charset, so it defaults to utf-8. The second form overrides the page encoding and sets accept-cha

Re: [PHP-DEV] Re: PHP Unicode support design document

2005-08-24 Thread Makoto Tozawa
Andrei Zmievski wrote: Is there any way to keep the byte semantics (in oppose to unicode semantics) only for the existing functions? For example, the Oracle 8 functions can be configured to use utf-8 for the character encoding of strings. In order for them to work properly, fundamental functio

[PHP-DEV] Re: PHP Unicode support design document

2005-08-23 Thread Makoto Tozawa
This looks good. When the unicode_semantics switch is turned on, it provides Unicode everywhere development solution to PHP developers. The output, input, and script encodings are all utf-8 by default. The internal encoding is utf-16 which allows developers to handle surrogate pairs correctly. I