Special Characters in CGI textarea

2005-04-28 Thread TAO, NENGBING [AG/1000]
Hi, Is there a standard way to deal with special characters like (r), (c) etc in a CGI form and store the data in an Oracle database? Thanks! Nengbing -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http

Re: Special Characters in CGI textarea

2005-04-28 Thread Ing. Branislav Gerzo
TAO, NENGBING [AG/1000] [TN], on Wednesday, April 27, 2005 at 16:58 (-0500) wrote: TN Is there a standard way to deal with special TN characters like (r), (c) etc in a CGI form and store the data in TN an Oracle database? what about HTML escaping ? You store them in db normally, show to

Re: Special Characters in CGI textarea

2005-04-28 Thread Shu Cao
: : Is there a standard way to deal with special characters like (r), :(c) etc in a CGI form and store the data in an Oracle database? : If the characters are special to Oracle DBMS, I think Oracle DBMS may provide some functions to deal with it. HTH -- Shu Cao [EMAIL PROTECTED

Dealing with 'special characters'

2004-03-29 Thread Howard Fuchs
Hi all: Here is my problem. I have a script which processes input from a textarea which may have 'special characters' in it like or etc. Unfortunately what I am getting back are these or respectively. Script snippet start-- use CGI qw/:standard/; print Content-type: text

CGI and special characters

2004-03-26 Thread Howard Fuchs
Hi all: Here is my problem. I have a script which processes input from a textarea which may have 'special characters' in it like or etc. Unfortunately what I am getting back are these or respectively. Script snippet start-- use CGI qw/:standard/; print Content-type: text

Re: Special characters

2003-12-29 Thread Octavian Rasnita
, this replacement is not made at all for those strange chars, but only for and maybe a few others. Teddy - Original Message - From: J. Alejandro Ceballos Z. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, December 28, 2003 7:58 PM Subject: Re: Special characters

Re: Special characters

2003-12-28 Thread J. Alejandro Ceballos Z.
yes, I agree, in fact we should take care about observing the 3 digits (#064; instead of #64;) maybe something like $cString =~ s/([\x7f-\xff])/'#'.ord($1).';'/ge; will fix the matter. In my experience, the numeric escapes where available seem to be more universal between browsers. --

Re: Special characters

2003-12-28 Thread Octavian Rasnita
Oh thank you. I just wanted to make that regexp and it saved me the time. Teddy From: J. Alejandro Ceballos Z. [EMAIL PROTECTED] Subject: Re: Special characters yes, I agree, in fact we should take care about observing the 3 digits (#064; instead of #64;) maybe something like $cString

Re: special characters

2003-12-27 Thread Camilo Gonzalez
that use special characters for foreign languages (romanian), like staîâSTAÎÂ. Please tell me what can I do to make them show right in the visitors' browser. I've seen that if I just print them, they appear like a question mark instead (?). I've seen that other sites can print them right and I don't know

Re: special characters

2003-12-27 Thread Octavian Rasnita
but the keyboard keys are mapped to other chars if I choose another language, but I see that it is not true. - Original Message - From: Camilo Gonzalez [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, December 27, 2003 5:46 PM Subject: Re: special characters J., In my

Re: special characters

2003-12-24 Thread J. Alejandro Ceballos Z.
I may try with nueric equivalents (like #046;) or htmlspecialchars() or htmlentities() Octavian Rasnita wrote: Hi all, I want to create some web pages that use special characters for foreign languages (romanian), like staîâSTAÎÂ. Please tell me what can I do to make them show right

Re: special characters

2003-12-24 Thread Octavian Rasnita
, December 24, 2003 6:59 PM Subject: Re: special characters I may try with nueric equivalents (like #046;) or htmlspecialchars() or htmlentities() Octavian Rasnita wrote: Hi all, I want to create some web pages that use special characters for foreign languages (romanian), like staîâSTAÎÂ

special characters

2003-12-23 Thread Octavian Rasnita
Hi all, I want to create some web pages that use special characters for foreign languages (romanian), like staîâSTAÎÂ. Please tell me what can I do to make them show right in the visitors' browser. I've seen that if I just print them, they appear like a question mark instead (?). I've seen

Re: special characters

2003-12-23 Thread Owen
On Tue, 23 Dec 2003 22:46:51 +0200 Octavian Rasnita [EMAIL PROTECTED] wrote: I want to create some web pages that use special characters for foreign languages (romanian), like staîâSTAÎÂ. Please tell me what can I do to make them show right in the visitors' browser. I've seen that if I

A question about strings and hexadecimal numbers of special characters

2002-03-06 Thread O. P.
Hi. I'm very new to Perl and have a basic question. How can I convert special characters contained in a string to hexadesimal numbers. I'm trying to access a cgi program but the string I use with the post method contains quote marks, question marks, etc. and the program crashes. I have

RE: RE: A question about strings and hexadecimal numbers of special characters

2002-03-06 Thread O. P.
Thanks Tim. Your answer solves many problems to me. But I have a further question. Sometimes a question mark apears in the middle of a string like that: $string = /cgi-bin/search.pl?term=who?lang=english; where who? is a unit and the question mark is part of it. Although I try to escape the

RE: A question about strings and hexadecimal numbers of special characters

2002-03-06 Thread Tim Fletcher
Sometimes a question mark apears in the middle of a string like that: $string = /cgi-bin/search.pl?term=who?lang=english; where who? is a unit and the question mark is part of it. Although I try to escape the question mark in who? and I get its hexadecimal number, I don't get the expected

Re: Escaping special characters for regular expressions

2002-02-28 Thread eric-perl
the contents as the first string. However, I would like for things like . and \w to search for those string literals, rather than for any character or any word character, respectively. Is there some function or capability which escapes all special characters in a string before it is passed

Re: Escaping special characters for regular expressions

2002-02-28 Thread W P
i don't want to just escape those characters. they were merely examples. i was hoping maybe there was some built-in way to escape ALL the characters that mean anything to regular expressions. it just seemed like a lot of work to put a \ before all the characters that regular expressions

Re: Escaping special characters for regular expressions

2002-02-28 Thread Curtis Poe
--- W P [EMAIL PROTECTED] wrote: i don't want to just escape those characters. they were merely examples. i was hoping maybe there was some built-in way to escape ALL the characters that mean anything to regular expressions. Well, technically, *all* characters mean something to a regex. I

Re: Escaping special characters for regular expressions

2002-02-28 Thread Rob Roudebush
Wouldn't single quotes do the trick? Curtis Poe [EMAIL PROTECTED] wrote: --- W P wrote: i don't want to just escape those characters. they were merely examples. i was hoping maybe there was some built-in way to escape ALL the characters that mean anything to regular expressions. Well,

Escaping special characters for regular expressions

2002-02-27 Thread W P
. However, I would like for things like . and \w to search for those string literals, rather than for any character or any word character, respectively. Is there some function or capability which escapes all special characters in a string before it is passed to a regular expression?