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: Converting to specific character set

Re: Converting to specific character set

From: _Andy_ <withheld_at_address.com>
Date: Thu, 25 Oct 2001 15:20:12 GMT
Message-ID: <3bd82d10.523177719@news.colt.net>


On Thu, 25 Oct 2001 15:07:33 +0200, "Sybrand Bakker" <postbus_at_sybrandb.demon.nl> wrote:

>
>"_Andy_" <withheld_at_address.com> wrote in message
>news:3bd7ee6e.507143453_at_news.colt.net...
>>
>> I need a way of converting an ANSI field to UTF8. Is there an Oracle
>> function I can use to do something like:
>>
>> select to_utf8(name) from my_table where id=1234;
>>
>> ??
>>
>> Cheers,
>>
>> Andy
>>
>
>Please check out the string functions in the sql reference manual.
>The function is called -guess what- convert

Sorry, I worked that out in the end. What about CLOBs? A clob contains an ISO8859-1, but

convert( dbms_lob( clob_field , 1000 , 1 ) , 'WE8ISO8859P1' , 'UTF8' )

doesn't work - rubbish characters are returned.

Any ideas? Received on Thu Oct 25 2001 - 10:20:12 CDT

Original text of this message

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