Problem in Unicode Data in Oracle Forms 6i
hello all,
i m using forms 6i with oracle 10g.
i have set Nls_lang =American_America.UTF8.
Now my problem is when i type some data i marathi Using a font
converter engine directly into the text box on form i just get
?????? in the text box.
But when i type same data on notepad n then paste it in textbox it gets
properly pasted and also get inserted in oracle .I m also able to
retrive it back properly.So i think it is not the problem of my
character set.Also i have set the font of textbox as Arial Unicode Ms.
i m not getting where the problem is?
I will b very thankfull if i get any help regarding this.
Try checking the Job status in Report Servlet for the Errror.
Similar Messages
-
Unable to show Unicode Data in Oracle RESTful Service JSON
Hi Everyone.
I have stored unicode data in Oracle database and when i retrieve in sql query it is showing the same. But when i retrieve the data in json using oracle RESTful web service (GET), it bringing with unknown character as shown below.
next: {},$ref: "http://000.00.00.00:8085/ords/mobile/sch/loginm/?user=SURESH&pwd=123&page=1"
items: [
uri: {},$ref: "http://000.00.00.00:8085/ords/mobile/sch/loginm/41"
stud_id: 41,
stud_code: "1001",
stud_name: "அப்துல் ஜப்பார்"
My Database Setup as below:
SQL> SELECT name,value$ FROM sys.props$;
NAME VALUE$
DICT.BASE 2
DEFAULT_TEMP_TABLESPACE TEMP
DEFAULT_PERMANENT_TABLESPACE USERS
DEFAULT_EDITION ORA$BASE
Flashback Timestamp TimeZone GMT
TDE_MASTER_KEY_ID
DBTIMEZONE -07:00
DST_UPGRADE_STATE NONE
DST_PRIMARY_TT_VERSION 11
DST_SECONDARY_TT_VERSION 0
DEFAULT_TBS_TYPE SMALLFILE
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET AL32UTF8
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_RDBMS_VERSION 11.2.0.1.0
GLOBAL_DB_NAME MOBILE
EXPORT_VIEWS_VERSION
SQL> select DECODE(parameter, 'NLS_CHARACTERSET', 'CHARACTER SET',
2 'NLS_LANGUAGE', 'LANGUAGE',
3 'NLS_TERRITORY', 'TERRITORY') name,
4 value from v$nls_parameters
5 WHERE parameter IN ( 'NLS_CHARACTERSET', 'NLS_LANGUAGE', 'NLS_TERRITORY');
NAME VALUE
LANGUAGE AMERICAN
TERRITORY AMERICA
CHARACTER SET AL32UTF8
8
WORKLOAD_CAPTURE_MODE
WORKLOAD_REPLAY_MODE
Awaiting you solution.
-- Abdul JabbarKumar,
Ftping the PG.xml to mds folder will not help the page to goto MDS directory
You have to import the file using xmlimporter
I understand you have done the import, but it is not success.
Could you please post what is the script you used to import the PG.xml
and once you run what was the output you have got.
May be you can refer the URL for the scripts
http://apps2fusion.com/at/61-kv/331-oa-framework-scripts
With regards,
Kali.
OSSI. -
How to use unicode fonts in Oracle forms 10g?
Hi I am working in forms 10g for quite a long time, the software that I have developed so far are all in English language. Now I have requirements to use Bengali Fonts in Forms 10g. I am facing difficulties doing that. Please reply with help. Thanks
Hasan Al MamunCheck this forum post (though that is for 6i, it would be of helpful for you)
How to use unicode fonts in Oracle forms 10g?
-Arun -
Problems saving Unicode in an Oracle CLOB
We found a problem with saving Unicode in an Oracle CLOB. We use thin
drivers and Oracle 9.2.0.3.0 The character set of the database is UTF8.
The following code works:
// Retrieve clob object into ResultSet rs
// Data to be saved is in String str
// Save data:
oracle.sql.CLOB theClob = (oracle.sql.CLOB)rs.getObject(1);
theClob.putString(1, str);
But the following code does not save the data properly while this is
usually recommended in code samples:
oracle.sql.CLOB theClob = (oracle.sql.CLOB)rs.getObject(1);
Writer out = theClob.getCharacterOutputStream();
out.write( str.toCharArray() );
out.flush();
out.close();
What could be the reasons why the second approach is failing?
Regards,
Joop KaashoekThanks for your reply.
When I insert .gif files JDeveloper ends with a message saying "Process exited with exit code 0". I then go and check in the database and I find the image added to the table.
With a word doc, JDeveloper does not give that message. No message at all regarding what the status of the process is. And the document is not added to the database. No error messages too. Could this be an issue with Oracle? -
Problem inputting Chinese characters in oracle forms
Hi,
We have a Chinese character: UCS2=7A4F (UTF8=E7A98F) If we try to input it to a control in a Forms application using chanjie (key sequence h-d-b-s-p) input method, it becomes "?", but if we input it using same method in word or notepad, it shows correctly and can then be copy-and-paste to oracle forms.
Is there some sort of implicit conversion of Chinese character input done by Oracle Forms controls such that it is unable to decode this character properly? Or is there some sort of setup that can be done to bypass this problem?
Any help would be greatly appreciated, hopefully as soon as possible.
Thank you very much.979801 wrote:
If I use LOV in place of List Item,Then I have to populate a LOV at run time.How could I maintain a record group n attach to LOV at run time?
On my previous post I have mentioned record group as follows:
select * from tbl_state where s_id=:tbl_address.s_id;
If :tbl_adress.s_id chaned during the time of run, then output values of list_city (LOV) is also changed. -
Problem with List Item in oracle forms
Hello Experts,
I am new in oracle forms and i am using oracle forms 11g with weblogic 10.3.5 at windows 7.
I have 3 database tables say(tbl_city,tbl_state,tbl_address).
tbl_city
C_ID
C_name
S_ID
0
None
0
1
XYZ
1
2
AS
2
3
AXD
2
tbl_state
ID
s_ID
S_Name
0
None
1
XY
2
ASD
tbl_address
A_ID
A_Street
S_ID
C_ID
1
ABC
1
1
Now I have made an oracle form having data block tbl_address with base table name tbl_address. In the form there are two list: one(list_state) for State_Name & State_ID and another(list_city) for City Name & C_ID display.
Here I want when I set State_name to ASD then List item list_city should be populated with the values having State_NAME=ASD not of State_Name=XY or None.I have tried it to make but not succeeded.I have made a procedure to populate list_city list item as:
-- here item_nm-->List item Name, sel_val & sel_val2 for selecting C_ID and C_NAME, tablNm---->tbl_CITY, whr for where condition, mtch--->selected value of list_State(list item in form)
PROCEDURE list_item(block_nm varchar2,item_nm varchar2,sel_val varchar2,sel_val2 varchar2,tablNm varchar2,whr varchar2,mtch varchar2) IS
group_id RecordGroup;
group_name varchar2(10) :='abc';
status NUMBER;
query1 varchar2(350);
item_name varchar2(20);
match varchar2(50);
BEGIN
match:=mtch;
item_name:=block_nm||'.'||item_nm;
group_id := find_group(group_name);
if not id_null(group_id) then
delete_group(group_id);
end if;
--if whr='' then
-- match:='0';
-- end if;
query1:='select '|| sel_val || ',TO_CHAR('|| sel_val2 || ') from '|| tablNm ||' where '||whr||' = '||mtch;
message(query1);
group_id := Create_Group_From_Query(group_name,query1);
/* Select statement must have two column*/
status := Populate_Group(group_id);
Populate_List(item_name,group_id);
exception
when others then
message('error');
END;
I am not able to guess what trigger in oracle forms should be used to populate list item(list_city). Please help by giving useful suggestion.
Thank You
regards
aaditya979801 wrote:
If I use LOV in place of List Item,Then I have to populate a LOV at run time.How could I maintain a record group n attach to LOV at run time?
On my previous post I have mentioned record group as follows:
select * from tbl_state where s_id=:tbl_address.s_id;
If :tbl_adress.s_id chaned during the time of run, then output values of list_city (LOV) is also changed. -
Problem in importing data in oracle 10g from 9i backup
Hi ,
Am trying to import data in oracle 10g..but it does not importing constraints, and stop doing anything by the msg.
About to enable constraints.....
after this msg it does not work.
plz help,
Regards,
NehaHi Neha,
You have a lot of options. I'll supose you can test first, and you're using an export file.
First forget about the data, think in your database structure. So you can do this:
exp userid=... file=exp_norows.dmp full=y rows=n statistics=none
Now you have the structure of your database. Create the database, in 10g, empty, check you have all filesystem, etc. for you new datafiles. And do the import with parameter ignore=y, you'll see a lot off errors on SYSTEM schema, don't worry about it.
Now you have the structure of you database in 10g. You can take a look in the import log file, looking for some possible errors come from your schemas. so check the objects, and check the schemas.
Bear in mind things like CONNECT role in 9i it's different in 10g, you can't create db_links in 10g with "IDENTIFIED BY VALUES" because you'll get an ORA-00600, etc.
Well, fix all problems on source database (9i) and repeate this procedure until you don't recieve any more errors (not a SYSTEM schema errors).
When you have everything solved, you can try to import the data.
I hope, this method can help you. If you have any problem do not hesitate to ask me.
John Ospino Rivas -
There is IMP utility which provides me data as graphical way. But i need extract data in such a way so that i could able to use in my application.
thanks,
mohanHi,
EdStevens
Actually I was using SQL Developer. Sorry for the wrong define question. Now the real problem is:
I want to read or extract data in a txt file from Oracle Dump (.dmp) file without using Oracle sqlPlus or Oracle Database.
No need to say that i am able to extract dump data using sqlPlus. But for that, there is a little burden to install oracle database
or sql Developer.
I also listen about Oracle Loader a little bit. Is it a tool for providing extraction of data from Oracle dump file.
Thanks for your previous reply,
And now waiting for your suggestion.
thanks,
mohan -
Validate dates in oracle forms
Hello everyone. I have a field column in my form , ORDER_START_DATE.
The date format is DD.MON.RRRR
Now I want to add a validation to this field and I know you have least allowed value as a field property.
I want to make sure the least allowed value is SYSDATE, but sysdate using the format DD.MON.RRRR. That is, today should be the least allowed value excluding the hour or minute.
Can anyone help me to achieve this in oracle forms?
Thanks a lot.$$DATE$$+1 would not work because its a system-variable you can take (copied from forms-help):
any valid constant form item (:block_name.item_name)
global variable (:GLOBAL.my_global)
form parameter (:PARAMETER.my_param)
Means you need to put the value that should be checked for in a block.item/parameter/global variable. -
Encoding Problem: non-Unicode Data to Unicode format of XI
Hi SDN,
I have a JDBC sender to SAP BW scenario. The database is MS SQL server.
The code page of db CP1CIAS
Description:SQL Server Sort Order 52 on Code Page 1252 for non-Unicode Data
Some fields with values like <b>ZAK�ADY TWORZYW SZTUCZNYCH</b> are failing in XI Mapping with error
<b>Fatal Error: com.sap.engine.lib.xml.parser.Parser~
XMLParser : #0 not allowed in Character data sections
in the trace.</b>
Please help how should i get over this code page errors. By installing this code page on XI server help?There is no such global setting, this is b/c your source has Unicode I trust, and the only one other thing to try would be this:
Arthur My Blog -
Problem inserting date in oracle forms
I have a data block called CUSTOMER and a TEXT ITEM called
DOB which is used to enter the Date of birth (date).
I have a SAVE button, on its trigger WHEN-BUTTON-PRESSED,
I have the following code
insert into test values
(to_date(:customer.dob,'dd-mon-yyyy'));
commit;
When i run the form it gives the error
FRM-40508: Oracle error: unable to INSERT record
But when i run the same trigger with sysdate (as shown below)
it runs perfectly, i mean the row is inserted into the database.
insert into test values
(to_date(sysdate,'dd-mon-yyyy'));
commit;
If someone can offer some assistance regarding this problem,
I will appreciate that.
DalbirWhenever you get an "Oracle Error" it means the form is happy but the database is complaining about something. You can select help > display error from the menu to see the sql it is trying to run and what the problem is.
Incidentally, why are you going to the trouble of trying to write code to do something which a forms block does automatically ? -
Problem in importing JavaClass in oracle forms
Hi gurus,
I
I am using
Forms [32 Bit] Version 10.1.2.0.2 (Production)
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
Oracle Toolkit Version 10.1.2.0.2 (Production)
PL/SQL Version 10.1.0.4.2 (Production)I am trying to import java Class into forms builder. I am doing this for the first time .
for this I have done...........
I made a simple class in jDeveloper for practice with simple output line
public class getSystem {
public String var ="thistext";
* @param args the command line arguments
public String get_text() {
return this.var;
public static void main(String[] args) {
System.out.println("this is test");
}then I made this file as SAM.JAR (using deploying methode)
set directory path of this SAM.JAR forms_builder_path in regedit,
then import this class in form builder using program > import java class
have the following code in program units
PACKAGE getSystem /* getSystem */ IS
-- DO NOT EDIT THIS FILE - it is machine generated!
-- Constructor for signature ()V
FUNCTION new RETURN ORA_JAVA.JOBJECT;
-- Method: main ([Ljava/lang/String;)V
PROCEDURE main(
a0 ORA_JAVA.JARRAY);
-- Method: get_text ()Ljava/lang/String;
FUNCTION get_text(
obj ORA_JAVA.JOBJECT) RETURN VARCHAR2;
END;-----------------------------------------------------------------------
PACKAGE BODY getSystem IS
-- DO NOT EDIT THIS FILE - it is machine generated!
args JNI.ARGLIST;
-- Constructor for signature ()V
FUNCTION new RETURN ORA_JAVA.JOBJECT IS
BEGIN
args := NULL;
RETURN (JNI.NEW_OBJECT('getSystem', '()V', args));
END;
-- Method: main ([Ljava/lang/String;)V
PROCEDURE main(
a0 ORA_JAVA.JARRAY) IS
BEGIN
args := JNI.CREATE_ARG_LIST(1);
JNI.ADD_OBJECT_ARG(args, a0, '[Ljava/lang/String;');
JNI.CALL_VOID_METHOD(TRUE, NULL, 'getSystem', 'main', '([Ljava/lang/String;)V', args);
END;
-- Method: get_text ()Ljava/lang/String;
FUNCTION get_text(
obj ORA_JAVA.JOBJECT) RETURN VARCHAR2 IS
BEGIN
args := NULL;
RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'getSystem', 'get_text', '()Ljava/lang/String;', args);
END;
BEGIN
NULL;
END;----------------------------------------
I made a simple form having one button , on when-button-pressed trigger I wrote this code
declare
Jvar ORA_JAVA.JOBJECT;
Fvar varchar2(100);
ex varchar2(5000);
javaException ORA_JAVA.JOBJECT;
begin
Jvar := getsystem.new();
Fvar := getsystem.get_text(Jvar);
message('this is outcomes from java'||Fvar);
EXCEPTION
WHEN ORA_JAVA.EXCEPTION_THROWN THEN
message('Java Exception');
WHEN others THEN
message(sqlerrm);
END;---------------------------
it shows me message 'java Exeption' which means something is wrong ....
when I used this code taken from form builder's help
EXCEPTION
WHEN ORA_JAVA.EXCEPTION_THROWN THEN
javaException := ORA_JAVA.LAST_EXCEPTION;
-- Print out the Exception by using the toString()
-- Method of the exception Object
message(Exception_.toString(javaException));
-- and clean up
ORto catch the exception it shows toString must be declared.....
once I know how to get the value of java methods on forms I could countinue my practices using java on forms please guide me
thanksthanks for you kind replies Sir,
Craig Sir now it's working very well for me , now I can get and set the values of variables and as well as methodes
the problem was solved ,
Andreas Weiden Sir your was right I didn't set the classPath setting in .ENV file , thanks a lot ..
these are the points I really wanna share for those who'll ever face the same problem..
(1) made simple class in Jdeveloper
public class getSystem {
public String varibless ="thistext";
* @param args the command line arguments
public int get_text(int bc) {
int a = 5;
int b= 10;
return bc+a;
public static void main(String[] args) {
getSystem var2 = new getSystem();
System.out.println(var2.get_text(5));
}make it .jar file using deploying mathode...
(2) set FORMS_BUILDER_CLASSPATH in regedit..
(3) restart forms builder and go to progarm > import java class
(4) select the class name that you made
(5) press option button and check include get/set public fields if you wanna interact with variables in class
(7) now make simple canvas with button , us this code on when-new-button press trigger
declare
Jvar ORA_JAVA.JOBJECT;
Fvar varchar2(100);
ex varchar2(5000);
javaException ORA_JAVA.JOBJECT;
--mn ORA_JAVA.JARRAY(10);
begin
jvar := getsystem.new;
Fvar := getsystem.get_text(Jvar,5);
message('this is outcomes from java'||Fvar);
ex := getsystem.getvaribless(jvar);
message('value of the variable in class '||ex);
--- similerty change the value of variable in class and then get it again
getSystem.setvaribless(jvar,'yournewvalue');
EXCEPTION
WHEN ORA_JAVA.java_error THEN
message( ora_java.last_error);
WHEN others THEN
message(sqlerrm);
END;hope for the best.....
thanks a lot again...
regards:
usman noshahi -
Problem of Cube data in oracle express database
I am having one problem related to express server database created using relational access administrator. I am using express objects to create some adhoc analysis reports. For that i have created express database using Relational Access Administrator(RAA). I have done the following steps:
1. Created Dimensions (D1,D2,D3)
2. Created Variable V1 having dimensions (D1,D2,D3)
3. Mapped D1 dimension to D1_table (dimension table in oracle schema) and same for the rest two also
4. Mapped Vaiable to F1_Table (fact table in oracle schema)
5. Saved this project in RAA.
6. It will create one Data Cude related to vairable V1.
7. I have created express database maintenance procedure using RAA
8. Executed express database maintenance (created above) using Batch manager.
9. Now I try to access V1 variable in express objects. "It shows me values for all related dimensions in this variable, But it does not show me value for the fact related to this vaiable. It shows blank information."
If you have any solution then please let me know.
Thanks in advance.
Surinder KaurHi Visu,
You can do the selective deletion after carefully making the selections. It may also be a good idea to break up the delete process: Like if you need to delete 2004 data for one company code, then you can do that montt by month.
It is okay to include the compression in a process chain. What we usually do is to compress requests that are eg. older than 15 days. By that time we can be sure that this data is correct. You can also make these settings by number of requests to leave uncompressed.
Hope this helps... -
Problems reading XLS numeric Cells Oracle Forms HELP
I have a problem using WEBUTIL reading a numeric cell in excell sheet, the value not show in the form.
This is a piece of the code im using for this.
column:= 5;
Set_Custom_property ('XLSUTIL.READ',1, 'CELL', sheet||','||Lrows ||','|| column);
:bl.year := Get_Custom_property ('XLSUTIL.READ',1,'READ');
please help me with this.ok, i understand... i will check, but you have a way to import excel sheet cell numeric field to oracle? any clue? im lost with this. I just have the problem with numeric cells.
Thank you for your help. -
Insert unicode symbol "æ Ə "by oracle form 10g
Hi
I have a form which inset some unicode symbol in a string like
abc ≤ æ Ə abc...
into a Nvarchar column.
database caharchterset = AR8MSWIN1256.
database= 10.2.0.4
but instead of that data it insert ( abc ?? ?? ?? abc..) what is wrong in my setting?Hello,
AR8MSWIN1256 cannot store unicode characters. You should have set the database (and the A.S.) with some AL32UTF8/UTF8 charset.
Francois
Maybe you are looking for
-
Installing BOE XI 3.1 and Data Services on same server, recommended or not?
I am fairly new to the BusinessObjects world. I have been told that it is not recommended that both BOE and Data Services exist on the same server. I was just wondering if there is any documentation (best practice) or technical reason why these two
-
How to avoid client opening for maintainig char value for POreleasestrategy
Hello Experts I have configured Purchase Order release strategy in our development client. I have released all transport requests for PO release in our quality client. But after releasing transport requests , value in characteristics like PO value wa
-
Is JHeadstart 9.0.4 released ?
Is JHeadstart 9.0.4 released ?
-
Deleted emails always reappear
deleted emails reappear
-
Itunes 10.4.1 for mac osx 10.6.8 quits
Ever since I updated itunes I was able to open it once, from then on I cannot open it, it unexpectedly quits during launch. It happens in safe mode as well. This is what I see: Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION