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 work for post, too. So you can upload html pages decode them and do something with it. If you use HTML as output encoding and do foreach($_GET as $idx=>$val) echo $idx=$val; you will see the original input again (as expected minus | if any).
But again i have problems if internal encoding is Multibate encoding. I have to send some search on internal handling.... Anyone interested may download the patch: http://marcus-boerger.de/php/ext/mbstring/mbstring-entities-const.patch And the additional file holding the translation table: http://marcus-boerger.de/php/ext/mbstring/html_entities.c marcus 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/mbstring/html_entities.c > >but I cannot access to your web site.... > > >-- >Yasuo Ohgaki > > >-- >PHP Development Mailing List <http://www.php.net/> >To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php