Re: [PHP-DEV] Re: mbstring and html encode/const structs

2002-08-01 Thread Rui Hirokawa
I think adding 'const' is good idea to clarify the code. We should check the new code before release process of PHP 4.3.0. Rui On Fri, 02 Aug 2002 03:08:12 +0200 [EMAIL PROTECTED] (Marcus B¾­ŽÓrger) wrote: > Spent some more work and now it works if the internal encoding is > UTF-8. So maybe th

Re: [PHP-DEV] Re: mbstring and html encode/const structs

2002-08-01 Thread Steph
t;[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, August 02, 2002 1:08 AM Subject: Re: [PHP-DEV] Re: mbstring and html encode/const structs Spent some more work and now it works if the internal encoding is UTF-8. So maybe the work is wor

Re: [PHP-DEV] Re: mbstring and html encode/const structs

2002-08-01 Thread Marcus Börger
Spent some more work and now it works if the internal encoding is UTF-8. So maybe the work is worth a comit the next days after some further testing. And the question is with or without const modifiers? You can see what the patch does by looking at this example (UTF8): http://marcus-boerger.de/ph

Re: [PHP-DEV] Re: mbstring and html encode/const structs

2002-08-01 Thread Marcus Börger
At 00:36 02.08.2002, Rui Hirokawa wrote: >Thanks, >It's cool! > >On Thu, 01 Aug 2002 20:29:12 +0200 >[EMAIL PROTECTED] (Marcus B¾­ŽÓrger) wrote: > > > I have spent some more work and now i can decode HTML upon input, too. > > > > If you set (arg_separator.input = "|") and (mbstring.internal_encod

Re: [PHP-DEV] Re: mbstring and html encode/const structs

2002-08-01 Thread Rui Hirokawa
Thanks, It's cool! On Thu, 01 Aug 2002 20:29:12 +0200 [EMAIL PROTECTED] (Marcus B¾­ŽÓrger) wrote: > I have spent some more work and now i can decode HTML upon input, too. > > If you set (arg_separator.input = "|") and (mbstring.internal_encoding = > ISO-8859-15) in your ini file > you can do s

Re: [PHP-DEV] Re: mbstring and html encode/const structs

2002-08-01 Thread Marcus Börger
I have spent some more work and now i can decode HTML upon input, too. If you set (arg_separator.input = "|") and (mbstring.internal_encoding = ISO-8859-15) in your ini file you can do something like this: testpage.php?var=Aä€ and receive $_GET['VAR'] = 'A and both ä and € decoded. This will wor

Re: [PHP-DEV] Re: mbstring and html encode/const structs

2002-08-01 Thread Marcus Börger
At 04:11 01.08.2002, Yasuo Ohgaki wrote: >Interesting. > >Marcus Boerger wrote: >>Anyone interested may download the patch: >>http://marcus.boerger.de/php/ext/mbstring/mbstring-entities-const.patch >>And the additional file holding translation the table: >>http://marcus.boerger.de/php/ext/mbstri

[PHP-DEV] Re: mbstring and html encode/const structs

2002-07-31 Thread Yasuo Ohgaki
Interesting. Marcus Boerger wrote: > Anyone interested may download the patch: > http://marcus.boerger.de/php/ext/mbstring/mbstring-entities-const.patch > And the additional file holding translation the table: > http://marcus.boerger.de/php/ext/mbstring/html_entities.c but I cannot access to y