Oracle 9i - problem with euro symbol
HI,
I have a database on oracle 9i and i can't store the euro symbol ( it is stored like a '?' reverse).On the server I have NLS_CHARACTERSET=WE8MSWIN1252 and for
NLS_NCHAR_CHARACTERSET=AL16UTF16.
Which superset is needed for this parameter to display the euro symbol and if I can do the change if the my NLS_CHARACTERSET is not a superset for NLS_NCHAR_CHARACTERSET ?
Thanks.
HI,
I have a database on oracle 9i and i can't store the euro symbol ( it is stored like a '?' reverse).On the server I have NLS_CHARACTERSET=WE8MSWIN1252 and for
NLS_NCHAR_CHARACTERSET=AL16UTF16.
Which superset is needed for this parameter to display the euro symbol and if I can do the change if the my NLS_CHARACTERSET is not a superset for NLS_NCHAR_CHARACTERSET ?
Thanks.
Similar Messages
-
Problem with Euro Symbol when import a PDF in SAP
Hi all,
I developed a sap interactive forms based on two custom tables.
It works fine, i can download from sap and upload in sap the data.
I have a preblem if, in a text field, in the pdf file I put the u20AC symbol. with this symbol the system can't convert the pdf and so It isn't able to create the xml structure from the pdf file.
Any suggestion?
thanks
enzoVery odd.
But if you want help you will need to provide more details: OS, version of Acrobat, how the file were created, etc. -
Problem with Euro sign when converting it into PDF Format
Hi all,
i am facing problem with Euro (u20AC) sign,
it is displayina s #
when converting one smartform into PDF format.
Can any body sugest me in doing this??
it is appriciable if any body can help m??
thanks in advance
Regards,
Srikanth.Hi Srikanth,
I think I'm facing the same issue as you. I looked at the note 323736 but my system seems to be up to date (at least for this issue). I have SAP_BASIS release 700.
Did you upgrade your system ? Did you do something else ?
Thanks for your help.
Best regards,
Pierre -
Problem showing Euro symbol in Jlabel in Windows 98
Problem showing Euro symbol in Jlabel in Windows 98
When i place the euro symbol as text using \u20ac it does not work in windows 98 but does so in win 2000.
I tried using JDK physical fonts also
Kindly help me out.Hi,
This was a bug and should be fixed in 1.3.1_02 see:
http://java.sun.com/j2se/1.3/ReleaseNotes.html
Hope this helps.
Regards,
Matt
Java Developer Technical Support
Sun Microsystems. -
Problem Inserting Euro Symbol and few others
We are using java application with oracle 8.1.6 as the db with the charset as WE8ISO8859P15. ALl the forms are using multipart request. We cannot do away without that. When trying to insert euro symbol and few other western european characters, they get converted to something else before getting stored in the db and so we are not able to display them properly on retrieval.
Can anyone please help in this direction?Just set the nls_charset.zip in classpath and then try to insert into db.I think it might not be a problem with database.(note. if u insert euro character it will be reside in db, as some format but u retrive it and stream it thru servlet it will be displayed in the browser properly, if u write using printwriter then it might give "?" / "O" in browser. refer http://www.inter-locale.com/faq/blacksquares.jsp).
-
Problems with EURO currency character
Hi,
I'm trying to insert the EURO currency character (€) in a CHAR field from a Java client but after the insert in the field I find a ? turned upside down.
I'm using
- Oracle DB server 11.2.0.1.0 running with character set US7ASCII (same problem with a different Oracle server with WE8ISO8859P1 encoding) on a Linux Red Hat server
- Java client with JDBC driver 11.2.0.1.0 (ojdbc5.jar) with JDK 5 running on Windows XP: the encoding of the JVM is CP1252.
I've googled a lot but found only solutions like "... change the encoding of the DB ...": I can't change the DB encoding.
Any idea?
Thanks.
Here's is a test case:
************ begin test case ************
Statement stmt = null;
PreparedStatement pst = null;
Connection conn = null;
ResultSet rs = null;
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
conn = DriverManager.getConnection("jdbc:oracle:thin:@SERVER:1521:SID", "USER", "PASSWORD");
stmt = conn.createStatement();
stmt.execute("CREATE TABLE JJOVA(A CHAR(5) NOT NULL)");
stmt.close();
pst = conn.prepareStatement("INSERT INTO JJOVA(A) VALUES(?)");
pst.setString(1, "€");
pst.execute();
stmt = conn.createStatement();
rs = stmt.executeQuery("select A from JJOVA");
while (rs.next()) {
String tmp = rs.getString(1);
System.out.println(tmp);
rs.close();
pst.close();
stmt = conn.createStatement();
stmt.execute("DROP TABLE JJOVA");
} catch(Exception e) {
e.printStackTrace();
} finally {
try {
if (rs != null) {
rs.close();
if (pst != null) {
pst.close();
if (stmt != null) {
stmt.close();
if (conn != null) {
conn.close();
} catch(Exception dontcare) {}
************ end test case ************
Regards,
AndreaThank you Oradba for the explanation of the COBOL program behavior: we're going to change the DB character set (export/import seems not required, we've found an Oracle Note 257722.1 "Changing WE8ISO8859P1 to WE8ISO8859P15"). I'll mark your answer as the (most) correct.
Oviwan, NLS_NCHAR_CHARACTERSET is AL16UTF16: I tried with an NCHAR field but I can't even store correctly accented vowels.
Thank you very much everyone,
Andrea -
Trouble with euro symbol ( x80 )
Hi!
on windows-plattforms the euro-symbol often is encoded with x80. I can manage to read from those files/streams, but as soon as I try to write this value to into a stream with whatever encoding java "thinks" that x80 is not a printable character and writes a x3f (a questionmark) instead.
I know that the euro-symbol should be unicode x20AC, but if windows and the IE uses x80 my java-program has to be able to deal with that!
please helpMaybe it has to be done the other way around.
You need an encoding that reads windows' Euro x80 into Unicode x20AC and you should not stick to have the Euro sign as x80 at the Java side. -
Hi, I have a problem with filtering binary documents (.doc, .pdf, etc...). I use SQL*PLUS for remote access to Oracle 10.2 on Linux and I create table:
CREATE TABLE test (id NUMBER PRIMARY KEY, text VARCHAR2(100));
I insert to this table:
INSERT into test values(1, 'PATH/text1.doc‘);
INSERT into test values(2,'PATH/text2.doc‘);
and then:
CREATE INDEX test_index ON test(text) indextype is ctxsys.context
parameters (’datastore ctxsys.file_datastore
filter ctxsys.auto_filter’);
Message "Index created" is displayed, but objects: DR$test_index$I, DR$test_index$K, DR$test_index$N, DR$test_index$R and DR$test_index$P are empty => index wasn´t created probably.
I don´t know, where is bug, either bug is somewhere in this code or on the server (wrong installation oracle or constraint privileges). Do you know in what is bug?The following is an excerpt from the 10g online documentation. Note the items that I have put in bold.
"FILE_DATASTORE
The FILE_DATASTORE type is used for text stored in files accessed through the local file system.
Note:
FILE_DATASTORE may not work with certain types of remote mounted file systems.
FILE_DATASTORE has the following attribute(s):
Table 2-4 FILE_DATASTORE Attributes
Attribute Attribute Value
path path1:path2:pathn
path
Specify the full directory path name of the files stored externally in a file system. When you specify the full directory path as such, you need only include file names in your text column.
You can specify multiple paths for path, with each path separated by a colon (:) on UNIX and semicolon(;) on Windows. File names are stored in the text column in the text table.
If you do not specify a path for external files with this attribute, Oracle Text requires that the path be included in the file names stored in the text column.
PATH Attribute Limitations
The PATH attribute has the following limitations:
If you specify a PATH attribute, you can only use a simple filename in the indexed column. You cannot combine the PATH attribute with a path as part of the filename. If the files exist in multiple folders or directories, you must leave the PATH attribute unset, and include the full file name, with PATH, in the indexed column.
On Windows systems, the files must be located on a local drive. They cannot be on a remote drive, whether the remote drive is mapped to a local drive letter."
With accessible paths and files, you get something like:
SCOTT@orcl_11g> CREATE TABLE test (id NUMBER PRIMARY KEY, text VARCHAR2(100));
Table created.
SCOTT@orcl_11g>
SCOTT@orcl_11g>
SCOTT@orcl_11g> INSERT into test values(1,'c:\oracle11g\banana.pdf');
1 row created.
SCOTT@orcl_11g> INSERT into test values(2,'c:\oracle11g\cranberry.pdf');
1 row created.
SCOTT@orcl_11g>
SCOTT@orcl_11g> CREATE INDEX test_index ON test(text) indextype is ctxsys.context
2 parameters ('datastore ctxsys.file_datastore
3 filter ctxsys.auto_filter');
Index created.
SCOTT@orcl_11g>
SCOTT@orcl_11g> select count(*) from dr$test_index$i
2 /
COUNT(*)
608
SCOTT@orcl_11g> In the following, I used a non-existent path and non-existent file name, which produces the same results as when you use a remote path that does not exist locally.
SCOTT@orcl_11g> CREATE TABLE test (id NUMBER PRIMARY KEY, text VARCHAR2(100));
Table created.
SCOTT@orcl_11g>
SCOTT@orcl_11g>
SCOTT@orcl_11g> INSERT into test values(3,'c:\nosuchpath\nosuchfile.pdf');
1 row created.
SCOTT@orcl_11g>
SCOTT@orcl_11g> CREATE INDEX test_index ON test(text) indextype is ctxsys.context
2 parameters ('datastore ctxsys.file_datastore
3 filter ctxsys.auto_filter');
Index created.
SCOTT@orcl_11g>
SCOTT@orcl_11g> select count(*) from dr$test_index$i
2 /
COUNT(*)
0
SCOTT@orcl_11g> -
Install Oracle 9 - Problem with jre
Hi,
I have problems with the Oracle Installer in Suse 8.0. The installer hangs when it launchs
the configurations tools setup ( near of end of installation ).
The line is below. It looks like that the installer is trying to use another
JRE version ( 1.1.8 ) of than required ( 1.3 ). When I run the line below with the version
1.3 ( out of installer ) I DONT get the SEGMENTATION FAULT.
Thank you,
Faria
Launched configuration tool Oracle Net Configuration Assistant
Command which is being spawned is /opt/oracle/OraHome/JRE/bin/jre -native
-Duser.dir=/opt/oracle/OraHome/network/jlib -classpath /opt/oracle/OraHome/JRE/lib/i18n.jar:/opt/oracle/OraHome/JRE/lib/rt.jar:/opt/oracle/OraHome/jlib/ewt3.jar:/opt/oracle/OraHome/jlib/ewtcompat-3_3_15.jar:/opt/oracle/OraHome/jlib/netcfg.jar:/opt/oracle/OraHome/network/jlib/netcam.jar:/opt/oracle/OraHome/network/jlib/netca.jar:/opt/oracle/OraHome/jlib/help3.jar:/opt/oracle/OraHome/jlib/oracle_ice5.jar:/opt/oracle/OraHome/jlib/share.jar:/opt/oracle/OraHome/jlib/swingall-1_1_1.jar:/opt/oracle/OraHome/jlib/srvm.jar:/opt/oracle/OraHome/network/tools oracle.net.ca.NetCA /orahome /opt/oracle/OraHome /instype typical
/inscomp client,oraclenet,javavm,server /insprtcl tcp,tcps /cfg local /authadp NO_VALUE /nodeinfo NO_VALUE /responseFile /opt/oracle/OraHome/network/install/netca_typ.rspIf you are using Slackware, install glocale package, otherwise, search which package has LC_MESSAGE files and install it.
Now... run runInstaller again... and voila....
I took 1 day to find it out!
Good luck! -
Oracle 11g problem with creating shared memory segments
Hi, i'm having some problems with the oracle listener, when i'm trying to start it or reload it I get the follow error massages:
TNS-01114: LSNRCTL could not perform local OS authentication with the listener
TNS-01115: OS error 28 creating shared memory segment of 129 bytes with key 2969090421
My system is a: SunOS db1-oracle 5.10 Generic_144489-06 i86pc i386 i86pc (Total 64GB RAM)
Current SGA is set to:
Total System Global Area 5344731136 bytes
Fixed Size 2233536 bytes
Variable Size 2919238464 bytes
Database Buffers 2399141888 bytes
Redo Buffers 24117248 bytes
prctl -n project.max-shm-memory -i process $$
process: 21735: -bash
NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
project.max-shm-memory
privileged 64.0GB - deny
I've seen that a solution might be "Make sure that system resources like shared memory and heap memory are available for LSNRCTL tool to execute properly."
I'm not exactly sure how to check that there is enough resources?
I've also seen a solution stating:
"Try adjusting the system-imposed limits such as the maximum number of allowed shared memory segments, or their maximum and minimum sizes. In other cases, resources need to be freed up first for the operation to succeed."
I've tried to modify the "max-sem-ids" parameter and set it to recommended 256 without any success and i've kind of run out of options what the error can be?
/RegardsI see, I do have the max-shm-ids quite high already so it shouldn't be a problem?
user.oracle:100::oracle::process.max-file-descriptor=(priv,4096,deny);
process.max-stack-size=(priv,33554432,deny);
project.max-shm-memory=(priv,68719476736,deny) -
Problem with field symbols in ecc 6.0
i have the following code written in 4.6 version now i am executing the old report in 6.0 but i am facing with some unicode error.
FIELD-SYMBOLS:
<line_of_bs_table> LIKE tbl1024,
READ TABLE bs_table INDEX row_bst ASSIGNING <line_of_bs_table> .
buffer_bsbuffer_ptr(aux) = <line_of_bs_table> >col_bst.
tb1024 is standard sap structure for storing buffer contents
i have the following error in ecc 6.0
structure type '<line_of_bs_table> >+col_bst' does not start with a charecter type field in unicode programs in such cases
offset/ length declarations are not allowed.
can any one tell how can a field symbol structure is changed to charecter type.Hi elinuk,
you have already posted this thread in the ABAP general forum under problem in field symbols in ecc6.0 and I think that this forum is more related to this issue than the DMS forum. So please close this thread and investigate this issue further in the ABAP general forum.
Best regards,
Christoph -
Problem with field-symbols in UNICODE conversion
Hi all.
I'm in a UNICODE conversion project and I have a problem with a program that uses field-symbols.
DATA: BEGIN OF wa_data_aux,
mandt LIKE zindices-mandt,
kschl LIKE zindices-kschl,
datab LIKE zindices-datab,
valor LIKE zindices-valor,
descripcion LIKE zindices-descripcion,
ernam LIKE zindices-ernam,
erdat LIKE zindices-erdat,
waers LIKE zindices-waers,
END OF wa_data_aux.
FIELD-SYMBOLS:
<fs2> TYPE ANY,
<fs3> LIKE wa_data_aux.
<fs2> = <fs3>.
This assignment results in a DUMP.
Can anybody help me to solve this problem?
Thanks!!TYPES: BEGIN OF wa_data_aux,
mandt TYPE mandt,
kschl TYPE kschl,
erdat TYPE d,
waers TYPE waers,
END OF wa_data_aux.
DATA: w_aux TYPE wa_data_aux.
FIELD-SYMBOLS:
<fs2> TYPE ANY,
<fs3> TYPE wa_data_aux.
w_aux-mandt = '300'.
ASSIGN w_aux TO <fs3>.
ASSIGN <fs3> TO <fs2>.
WRITE : / <fs2>.
GBY. -
Hi!
I have a problem with a field-symbol like this:
DATA: gt_coep_ext TYPE kaep_t_coep_ext.
field-symbols <gt_data> type table.
ASSIGN gt_coep_ext TO <gt_pos_data>
This field symbol is used in the FM REUSE_ALV_GRID_DISPLAY as output table. I need add two fields in this <gt_data>. Is there any way to add new fields in the <gt_data> structure.
Thanks!!Create your one Fieldcat
Global data declaration ***
TYPE-POOLS: SLIS.
<types: ... . " user definded types>
DATA: GT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.
DATA: G_REPID LIKE SY-REPID.
DATA: GT_OUTTAB TYPE <UD_STRUCT> OCCURS 0 WITH HEADER LINE.
<data: ... . " user specific data>
Initialization field catalog ***
INITIALIZATION.
G_REPID = SY-REPID.
PERFORM FIELDCAT_INIT USING GT_FIELDCAT[].
Data selection ***
START-OF-SELECTION.
PERFORM SELECT_DATA TABLES GT_OUTTAB.
Display list ***
END-OF-SELECTION.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = G_REPID
IT_FIELDCAT = GT_FIELDCAT[]
TABLES
T_OUTTAB = GT_OUTTAB.
FORMS ***
FORM FIELDCAT_INIT USING RT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.
DATA: LS_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
DATA: POS TYPE I VALUE 1.
Initialize keyfield(s)
CLEAR LS_FIELDCAT.
LS_FIELDCAT-COL_POS = POS.
LS_FIELDCAT-FIELDNAME = <GT_OUTTAB_FIELD_NAME>.
LS_FIELDCAT-REF_FIELDNAME = <DDIC_REF_FIELD_NAME>.
LS_FIELDCAT-REF_TABNAME = <DDIC_REF_TABLE_NAME>.
LS_FIELDCAT-KEY = 'X'. " sets key field
APPEND LS_FIELDCAT TO RT_FIELDCAT.
Initialize normal field(s)
POS = POS + 1.
clear ls_fieldcat.
ls_fieldcat-col_pos = pos.
LS_FIELDCAT-FIELDNAME = <GT_OUTTAB_FIELD_NAME>.
LS_FIELDCAT-REF_FIELDNAME = <DDIC_REF_FIELD_NAME>.
LS_FIELDCAT-REF_TABNAME = <DDIC_REF_TABLE_NAME>.
APPEND LS_FIELDCAT TO RT_FIELDCAT.
Initialize hidden field(s)
POS = POS + 1.
clear ls_fieldcat.
ls_fieldcat-col_pos = pos.
LS_FIELDCAT-FIELDNAME = <GT_OUTTAB_FIELD_NAME>.
LS_FIELDCAT-REF_FIELDNAME = <DDIC_REF_FIELD_NAME>.
LS_FIELDCAT-REF_TABNAME = <DDIC_REF_TABLE_NAME>.
LS_FIELDCAT-NO_OUT = 'X'. " sets hidden field
APPEND LS_FIELDCAT TO RT_FIELDCAT.
ENDFORM. " fieldcat_init
FORM SELECT_DATA TABLES RT_OUTTAB LIKE GT_OUTTAB[].
<user specific data selection>
ENDFORM. " select_data -
Oracle SID Problems with numbers
Hi everybody,
I created a new database (ORACLE 10g) with the SID name IC71 and the same global database name. After finishing the configuration and starting the database everything worked fine.
Now I installed the Oracle Client on another server machine. I made an entry in the tnsnames.ora with the Servicename IC71 and it worked. The problem now is, that I have to give the SID instead of the Servicename for installing some software. With the SID IC71 it does not work, after I changed the SID to IC it works.
Can someone explain me this strange settings? Has Oracle problems with numbers in the SID name?Has Oracle problems with numbers in the SID name?Not at all. I often use numbers in SIDs, and I've never had problems with that. Your problem has to be elsewhere.
With the SID IC71 it does not workWhich error do you get ? -
When I import in string format and after try to convert to number sometimes my procedure fails. I see that sometimes database need number string decimal symbol to be '.' and I replace ',' with '.' . But time after I find that I must change my procedure because system only acepts '.' like decimal symbol in to_number(str) operation. I think there could be two solutions I don't know how could be developed:
1) Control in de procedure which of the two symbols is accepted
2) Make Oracle database not to change decimal symbol setting
Any idea?
ThanksThat isn't a sql developer issue. You are not specifying the correct 'fmt' or nlsparam' parameters to the TO_NUMBER function.
>
When I import in string format and after try to convert to number sometimes my procedure fails. I see that sometimes database need number string decimal symbol to be '.' and I replace ',' with '.' . But time after I find that I must change my procedure because system only acepts '.' like decimal symbol in to_number(str) operation. I think there could be two solutions I don't know how could be developed:
1) Control in de procedure which of the two symbols is accepted
2) Make Oracle database not to change decimal symbol setting
Any idea?
>
Your statement that "system only acepts '.' like decimal symbol in to_number(str) operation" is misinformed.
Oracle's TO_NUMBER function will accept both a format string and an nslparam parameter and will handle that conversion for you.
See the TO_NUMBER function in the SQL Language Reference.
http://docs.oracle.com/cd/E14072_01/server.112/e10592/functions209.htm
More importantly see the TO_CHAR function in the same doc since the example for 'fmt' and 'nlsparam' are there
http://docs.oracle.com/cd/E14072_01/server.112/e10592/functions199.htm#i79330
There are examples in the TO_CHAR section and this introductory text should satisfy you that these parameters will do what you need.
>
TO_CHAR (number) converts n to a value of VARCHAR2 data type, using the optional number format fmt. The value n can be of type NUMBER, BINARY_FLOAT, or BINARY_DOUBLE. If you omit fmt, then n is converted to a VARCHAR2 value exactly long enough to hold its significant digits.
If n is negative, then the sign is applied after the format is applied. Thus TO_CHAR(-1, '$9') returns -$1, rather than $-1.
Refer to "Format Models" for information on number formats.
The 'nlsparam' argument specifies these characters that are returned by number format elements:
•Decimal character
•Group separator
•Local currency symbol
•International currency symbol
This argument can have this form:
'NLS_NUMERIC_CHARACTERS = ''dg''
NLS_CURRENCY = ''text''
NLS_ISO_CURRENCY = territory '
The characters d and g represent the decimal character and group separator, respectively. They must be different single-byte characters. Within the quoted string, you must use two single quotation marks around the parameter values. Ten characters are available for the currency symbol.
If you omit 'nlsparam' or any one of the parameters, then this function uses the default parameter values for your session.
>
Those comments appy to the parameters when used with TO_NUMBER also.
Maybe you are looking for
-
My desktop IMac OSX 10.6.8 : IMovie '11: Trying to upload a home movie clip from my Panosonic camera model PV-DV203D. I've had this camera several years, and used it with Windows desktop. Now trying to work with my Mac. I have a USB cable, both ends
-
How to get the seq_num's in descending order of latest begin_date's
Hi I have this query which gives me an ouput as follows :- select id,code,begin_date,status_code,seq_num from ABC where id = '0001' 0001 040 20-NOV-97 39 1 0001 040 26-DEC-96 10 2 0001 040 10-APR-96 34 3 0001 040 27-JAN-91 02 4 0001 040 01-NOV-77 01
-
Backup von APE4 in APE6 importieren - Diashow wird nicht angezeigt
Hi! Ich habe in Adobe Photoshop Elements 4.0 den gesamten Katalog gebackupt. Nun hab ich Adobe Photoshop Elements 6.0 installiert und wollte das Backup importieren. Nach einiger Zeit hat er den Import erfolgreich abgeschlossen, den Katalog konvertier
-
Sales group not assigned to sales office
Hi, When i tried to create ERP quotation from Opportunity, "Sales group not assigned to Sales Office" error is arised. With Regards Selvam T
-
HI Gurus In Material Master - WM1 view, there is a field capacity usage. Is there a formula to calculate the capacity usage or its a free field where you can enter any number? Please advice Thanks Sanjay