Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Rookie Character Set Question

Re: Rookie Character Set Question

From: Frank van Bortel <fvanbortel_at_netscape.net>
Date: Tue, 20 Jul 2004 19:05:31 +0200
Message-ID: <cdjj27$coa$1@news1.tilbu1.nb.home.nl>


Chris Battles wrote:

> We have a browser based application that posts information to the
> database via stored procedures and the plsql web toolkit. Some users
> prefer to compose their responses in a rich text editor (MS Word,
> Wordperfect, etc) and then paste their response into the form. When
> these items are saved to the database some of their high ASCII
> characters are being saved as their HTML equivalents (&#8220; for the
> left double quotation mark, &#8221; for the right double quotation
> mark, etc.) What is the proper way to accomodate this - should we be
> trapping/replacing these characters on the way in/out or perhaps
> setting a character set parameter that tells the database the proper
> way to handle them?
>
> I suspect that this is super simple - I think that the toughest part
> about my problem is asking the question correctly so I apologize in
> advance.

There are calls in the toolkit just to do that... escape_sc (escape Special Characters) jumps to mind. However, &#8221; can be saved just as well (it *does* take more space, though!), and will be translated back by the browser just as smoothly, so there really should not be a need to trap them - unless you run into space problems...

-- 

Regards,
Frank van Bortel
Received on Tue Jul 20 2004 - 12:05:31 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US