I think I've figured out what was going on. (Thanks, Peter, for the lead...)
It appears the httpvariables recipe uses the default charset provided by the the PHP htmlentities function, while I was using utf-8. My solution was to patch the httpvariables script to make the charset explicit, by changing a line to: if($val) return htmlentities(stripmagic($val),ENT_COMPAT,'utf-8'); I've left a comment on the httpvariables page to this effect in case others encounter the same problem. Randy On Jun 26, 2010, at 6:02 PM, Randy Brown wrote: > I've got a wiki in UTF8, and pass parameters via the URL by using PHP's > urlencode() function and the httpvariables recipe. Unfortunately, when I pass > the letter ú it gets converted to ú . > > Does anyone know a language-safe way to get parameters from and pass them to > the URL? > > Randy
_______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
