<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>I think I've figured out what was going on. (Thanks, Peter, for the lead...)</div><div><br></div><div>It appears the httpvariables recipe uses the default&nbsp;charset provided by the the PHP htmlentities function, while I was using utf-8. My solution was to patch the&nbsp;httpvariables script to make the charset explicit, by changing a line to:&nbsp;</div><div><br></div><div>if($val) return htmlentities(stripmagic($val),ENT_COMPAT,'utf-8');</div><div><br></div><div>I've left a comment on the httpvariables page to this effect in case others encounter the same problem.&nbsp;</div><div><br></div><div>Randy</div><div><br></div><div><div>On Jun 26, 2010, at 6:02 PM, Randy Brown wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I've got a wiki in UTF8, and pass parameters via the URL by using PHP's&nbsp;urlencode() function and the httpvariables recipe. Unfortunately, when I pass the letter&nbsp;ú it gets converted to&nbsp;<span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 19px; ">ú</span>&nbsp;.<div><br></div><div>Does anyone know a language-safe way to get parameters from and pass them to the URL?</div><div><br></div><div>Randy</div></div></blockquote></div><br></body></html>