dbTalk Databases Forums  

ASCII character

comp.database.oracle comp.database.oracle


Discuss ASCII character in the comp.database.oracle forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Perico de los Palotes
 
Posts: n/a

Default ASCII character - 06-02-2004 , 03:42 PM






Hi, all

How can I enter an ASCII character (£, ALT-156) into a varchar column in a
table? Whe I enter it (either through an application or throught TOAD) it
switches to the # symbol.

I have Oracle 8.1.7 with characterset US7ASCII.

Thanks for any help.

MP




Reply With Quote
  #2  
Old   
Olivier Guyot
 
Posts: n/a

Default Re: ASCII character - 06-03-2004 , 05:42 AM






Hi,

I think you will have troubles.

US7ASCII is a 7 bit long character set so you can enter characters
from alt +000 to alt + 127.

So, it will be difficult for you.

You will have to change your character set to at least WE8ISO8859P1
(western Europe) ou UTF8 (AL32UTF8).

The best thing is to create a new database with the right character
set. If not, it is possible to migrate character set for a database
but it is not an easy thing if you have "non common" column types
(like NVARCHAR, BLOB, NLOB).

regards,

Olivier

"Perico de los Palotes" <ppalotes2004 (AT) yahoo (DOT) com> wrote

Quote:
Hi, all

How can I enter an ASCII character (£, ALT-156) into a varchar column in a
table? Whe I enter it (either through an application or throught TOAD) it
switches to the # symbol.

I have Oracle 8.1.7 with characterset US7ASCII.

Thanks for any help.

MP

Reply With Quote
  #3  
Old   
Perico de los Palotes
 
Posts: n/a

Default Re: ASCII character - 06-03-2004 , 09:38 AM



Thanks, Olivier. That was very helpful.

Regards,

MP




"Olivier Guyot" <guyot.oliv (AT) wanadoo (DOT) fr> wrote

Quote:
Hi,

I think you will have troubles.

US7ASCII is a 7 bit long character set so you can enter characters
from alt +000 to alt + 127.

So, it will be difficult for you.

You will have to change your character set to at least WE8ISO8859P1
(western Europe) ou UTF8 (AL32UTF8).

The best thing is to create a new database with the right character
set. If not, it is possible to migrate character set for a database
but it is not an easy thing if you have "non common" column types
(like NVARCHAR, BLOB, NLOB).

regards,

Olivier

"Perico de los Palotes" <ppalotes2004 (AT) yahoo (DOT) com> wrote

Hi, all

How can I enter an ASCII character (£, ALT-156) into a varchar column in
a
table? Whe I enter it (either through an application or throught TOAD)
it
switches to the # symbol.

I have Oracle 8.1.7 with characterset US7ASCII.

Thanks for any help.

MP




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.