Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Special Characters Created on a UNIX system with HP Terminal on US7ASCII
codadilupo <codadilupo_at_operamail.com> wrote:
>> The right thing would be to do an ALTER DATABASE CHARACTER SET to >> change the database to the encoding of the data that are stored in it.
No.
ALTER DATABASE CHARACTER SET does not change the contents of the database. It only changes the database character set, which tells Oracle how to interpret the bytes stored in textual columns and stored procedure sources.
A byte 0x80 stored in the database will remain 0x80, but if you change the database character set from US7ASCII to WE8MSWIN1252, it will change its meaning from garbage to a Euro sign.
Yours,
Laurenz Albe
Received on Thu Jul 26 2007 - 03:05:24 CDT