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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Problem with setcharset method

Re: Problem with setcharset method

From: Vladimir M. Zakharychev <bob_at_dpsp-yes.com>
Date: Thu, 5 Jun 2003 21:25:22 +0400
Message-ID: <bbnulm$hp4$1@babylon.agtel.net>


"Jose Luis Gil García" <jlgil_at_travelc.com> wrote in message news:jFKDa.642691$u6.1030849_at_telenews.teleline.es...
> Hi,
>
> I have a trouble with SetCharset methot from PLSQL (Oracle 8.1.7). It
> doesn't work properly
> Ex:
>
> xmldom.setCharSet( v_doc_resul, 'US7ASCI' );
> xmldom.setVersion( v_doc_resul, '1.0' );
>
> this lines only set the version, not the encoding. why?
>
> Thanks.
>

If the code above is what you actually use, the charset name is invalid (US7ASCII is correct one.) Besides, I recall there was a bug on metalink regarding setCharset not altering the document encoding. Try installing the latest XDK (9.2.0.5 as of today, can be downloaded from OTN).

-- 
Vladimir Zakharychev (bob@dpsp-yes.com)                http://www.dpsp-yes.com
Dynamic PSP(tm) - the first true RAD toolkit for Oracle-based internet applications.
All opinions are mine and do not necessarily go in line with those of my employer.
Received on Thu Jun 05 2003 - 12:25:22 CDT

Original text of this message

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