Re:[MacPerl-WebCGI] translating special characters from form elements
[email protected] Tue, 1 May 2001 12:53:01 +0900
| Newsgroups | perl.macperl.webcgi |
|---|---|
| Message-ID | <v04011702b713d7f88c4c@[211.132.154.224]> |
allan <[email protected]>wrote: >usually i translate some of these characters .... >so my question is: is there a built-in way to do it via cgi.pm or do i >need to make my own function? you're not being very clear as to why you want to translate chars - are you worried that you're going to get control characters which might be used to hack your server account or are you dealing with non ASCII (Japanese, Chinese) text and want to convert the contents of the text field to hex or binary to preserve the original input or are you trying to cosmetically encode the contents of your text to make it more difficult to read or are you worried that the user might put HTML markup into the text field.......or....? Robin