coldfusion url decode extended ascii
This seems trivial
<cfset username = urld开发者_JAVA百科ecode(url.username, "utf-8")>
Where username in the URL = %F8yvind
Decoded username = �yvind
How do I get the corresponding html entity: ø
?
I need to use the username as a lookup value in the db.
Thanks!
<cfset username = htmlEditFormat(urlDecode(URL.username, "utf-8"))>
Does this work?
精彩评论