This is not a cocoon issue so much as a database issue.  There is no one
fix; see your database docs on how to escape single quotes for your
database.  For Oracle, use two single quotes to get one single quote, e.g.
      'it''s' will get saved in the database as the string "it's".

-Christopher



|---------+---------------------------->
|         |           Mustafa Yalniz   |
|         |           <[EMAIL PROTECTED]|
|         |           .tr>             |
|         |                            |
|         |           07/23/2003 01:27 |
|         |           PM               |
|         |           Please respond to|
|         |           users            |
|         |                            |
|---------+---------------------------->
  
>--------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                          |
  |       To:       [EMAIL PROTECTED]                                                  
                    |
  |       cc:                                                                          
                          |
  |       Subject:  escaping characters                                                
                          |
  
>--------------------------------------------------------------------------------------------------------------|




Hi,

I am trying to escape characters before saving it into the database. When
the user enters something with apostrophe then it does not save it into the

database since the first apostrophe is interpreted as end of entry. It is
interpreted as syntax error.  Does anybody has any experience with this
such as how to escape these special characters in cocoon before saving them

into database.

Thanks,
Mustafa


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to