View Full Version : How to Accept Control Characters in HTML Text Box?

10-28-2011, 05:49 PM
Does anyone know how to accept control characters like control-b (^B), control-c (^C), etc in an HTML text box?

Currently, the value entered into the text box gets treated as a string consisting of "^" and "B" (assuming ^B was entered) rather than a control character.

10-28-2011, 08:49 PM
As far as I know, there's no way to do it directly in HTML. Enter the "^B" as you described and then convert it on your server.