internationalization - htmlencode causes lockup asp.net -
i had text displaying html , had filtered content htmlencode.
when changed control textbox, left htmlencode code alone , worked. however, when there international characters, e.g. éúáó, ajax calls on page stopped working. page displayed , there no errors - javascript or otherwise, page stopped working.
i removed htmlencode , works correctly. app defined utf-8.
i'm curious if understands happened.
my guess ajax calls use http method , using html encoding instead of url encoding. perhaps urls got built ajax calls contained characters such ´ (the html encoding é) when included accented characters, , these broke url scheme caused request never make server-side controller. url encoding é %e9. url encoding , html encoding different.
when removed htmlencode call, guess fixed issue & breaking url scheme. if i'm correct far may idea change ajax calls use http post instead of http get, sure eliminate other url issue.
Comments
Post a Comment