开发者

ASPX page submiting field with accent values is not working

I cannot post the code or a URL, it is local and private. However this is the issue:

When I submit the form on a ASPX page it has a large hidden value text with accents for French. The accents get garbled and replaced if sent to another page, but if I submit it to itself and c开发者_开发问答heck the value, it maintains the accents. Any ideas how I can fix this?

An example of a test i tried was:

worked. Printed out: é space é

when action sent to test2.aspx value output was é space é


Try setting this in your web.config

<globalization 
            requestEncoding="utf-8" 
            responseEncoding="utf-8"  />
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜