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

Home -> Community -> Mailing Lists -> Oracle-L -> <Fiso-8859-1?Q?RE:_Displaying_£_symbol__(pound_sterling)_Oracle_1? =?iso-8859-1?Q?0G?Date: Tue, 30 Aug 2005 11:34:31 -0400

<Fiso-8859-1?Q?RE:_Displaying_£_symbol__(pound_sterling)_Oracle_1? =?iso-8859-1?Q?0G?Date: Tue, 30 Aug 2005 11:34:31 -0400

From: Aragon, Gabriel (GE Commercial Finance) <gabriel.aragon_at_ge.com>
Date: Tue, 30 Aug 2005 11:45:36 -0500 (EST)
Message-ID: <84B673E70D068347A2F54A51457E5C270B68ECE2@CINMLVEM05.e2k.ad.ge.com>


maybe you should change your approach to solve this, I would use a numeric data type to store the ascii for the symbol and just make the conversion as required..

sql> select ascii('£') from dual;

ASCII('î')


       156

sql> create table money (quantity number, currency number);

Table created.

sql> insert into money values (100, 156);

1 row created.

sql> select quantity, chr(currency) from money;

  QUANTITY C
---------- -

       100 £

regards,
GAP -----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Steve Farmer Sent: Martes, 30 de Agosto de 2005 07:13 a.m. To: oracle-l_at_freelists.org
Subject: Displaying £ symbol (pound sterling) Oracle 10G

Hi,

I am having problems storing and retrieving the £ (pound sterling) symbol ... I can store it as £ but it comes back as # !

If I change NLS_TERRITORY to 'UNITED KINGDOM" the currency symbol comes back as #

I think I may need to change the character set of the DB, has anyone had any experience with this?

Regards
Steve

-- 
-------------------------------------------------
Nearly all men can stand adversity, but if you 
want to test a man's character, give him power.
-Abraham Lincoln, U.S. president (1809-1865)
Support free speech; visit http://www.efa.org.au/

Heads Together Software Pty Ltd http://www.hts.com.au
Email: hts_at_hts.com.au     Tel: +44 7985 602 102
--
http://www.freelists.org/webpage/oracle-l
--
http://www.freelists.org/webpage/oracle-l
Received on Tue Aug 30 2005 - 11:46:00 CDT

Original text of this message

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