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: CONVERTing to US7ASCII from WE8ISO8859P1

Re: CONVERTing to US7ASCII from WE8ISO8859P1

From: Kjell Tore Nannestad <knannest_at_c2i.net>
Date: Sun, 15 Jul 2001 17:55:16 GMT
Message-ID: <3B51DA89.9ABCE4DB@c2i.net>

Oracle threats theese characters as 'unknown' to the us7ascii character set and therefore the '?'.
You have to replace the characters before inserting into the database (or switch character set in the database).

Kevin wrote:

> Any ideas why the CONVERT function does this?
>
> SELECT CONVERT('informaciĆ³n', 'US7ASCII', 'WE8ISO8859P1') FROM DUAL
>
> The SQL above returns "informacion" without the "grave" over the 'o'
> which is what I want.
>
> However ...
>
> SELECT CONVERT('campaƱa', 'US7ASCII', 'WE8ISO8859P1') FROM DUAL
>
> Removes the '~' and substitues a '?' and returns "campa?a"
> I was expecting: "compana"
>
> I am running this SQL on SunOS/Oracle8i. The Oracle8i database character
> set is US7ASCII.
>
> The data I am trying to load is a text file exported from MS-ACCESS
>
> Any tips or suggestions would be greatly appreciated.
>
> TIA
>
> Kevin
Received on Sun Jul 15 2001 - 12:55:16 CDT

Original text of this message

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