L
Lau Lei Cheong
Hello,
I'm currently working on porting a website in English to Chinese
environment.
Most things works fine here, but as people familiar with CJK or any
double-byte character code pages should know, for some characters with lower
byte equal to certain characters - such as " or < - the ASP.NET will throw
something like this:
System.Web.HttpRequestValidationException: A potentially dangerous
Request.Form value was detected from the client
I'm afraid that I would have to disable this feature so people can enter
those "problematic" characters here. But is there anyway to instruct ASP.NET
to simply ignore these double-byte characters? For example they could ignore
the next character if the current character has value of greater than A0h in
Big5(Traditional Chinese).
Regards,
Lau Lei Cheong
I'm currently working on porting a website in English to Chinese
environment.
Most things works fine here, but as people familiar with CJK or any
double-byte character code pages should know, for some characters with lower
byte equal to certain characters - such as " or < - the ASP.NET will throw
something like this:
System.Web.HttpRequestValidationException: A potentially dangerous
Request.Form value was detected from the client
I'm afraid that I would have to disable this feature so people can enter
those "problematic" characters here. But is there anyway to instruct ASP.NET
to simply ignore these double-byte characters? For example they could ignore
the next character if the current character has value of greater than A0h in
Big5(Traditional Chinese).
Regards,
Lau Lei Cheong