Turkish Character Problem using GO function
Hi,
We have a requirement of opening new dashboard page as a new page when a link is followed in an analytical request. We are using GO function and we are passing parameters also.
Our formula for the column producing the link is like following (I have to drop html tags as they are not rendered on the forum page):
saw.dll?Go&_scid=WAP*ginmv-g&Path=/shared/ASGBOARD/KRN_ISL/DENEME_ISL&Action=Navigate&P0=1&P1=eq&P2=ISLETME_DIM.SUBEKODU&P3=1+"@"&Done=Close
The parameters are coming from primary request columns. However, if those parameters contain turkish characters like ş ç ö ü etc. the parameters are not passed correctly to the target dashboard page, instead of those characters, an empty box is rendered and the data on the page is not filtered correctly.
Any idea on this?
Thanks
Hi,
I am also not sure whether this is somehow because of OC4J settings or Oracle BI settings.
Thanks
Similar Messages
-
Turkish Character Problem Using Database Link
Hi all,
I have a link created to a 10g XE database, from a 9i database. The link works fine for everything, but there is a problem with Turkish characters. Consider following query;
INSERT INTO xxer_char_deneme_brk@teta -- obviously teta is the link from 9i to 10g XE
SELECT urun_adi, --Atkı - CQS - 00 Beden
'ĞÜŞİÖÇI','ğüşiöçı',
URUN_UZUN_ACIKLAMA --%35 VİSKOZ %29 YÜN %20 POLYAMID %8 ANGORA %8 KAŞMİR
FROM xxer.xxer_stok --9i table
WHERE urun_adi LIKE '%Atk%';
In this query as you can see I insert two column values manually, and two from a table in my production database(9i). Also I show the correct values of columns as comments. When I run this query those columns are inserted to the remote database(10g XE) as 'Atki - CQS - 00 Beden' and '%35 VISKOZ %29 YÜN %20 POLYAMID %8 ANGORA %8 KASMIR', but the manual values are inserted without any conversion. As you can see only the values selected from the table change. For example İ is converted to I, Ş to S, Ğ to G and so on.
Now first I thought of NLS parameters, but both databases have Turkish language and territory settings. 9i runs on AIX 5.3, 10g runs on Windows server 2008.
Any help will be appreciated.
Thanks
BurakPl see these MOS Docs
Changing the NLS_CHARACTERSET to AL32UTF8 / UTF8 (Unicode) [Document 260192.1]
AL32UTF8 / UTF8 (Unicode) Database Character Set Implications [Document 788156.1]
The easiest option would be to export from the current XE database, reinstall the AL32UTF8 version of XE, and perform an import.
http://download.oracle.com/docs/cd/E11882_01/server.112/e10729/ch11charsetmig.htm#CEGCHGIJ
HTH
Srini -
Problem using two function based indexes at once!
Hello Oracle!
I've got problems using two function based indexes on geometries at once.
The problem occures, when I use a spatial join between two geometries both using function based indexes.
The test case:
CREATE TABLE quad (centroid NUMBER);
CREATE TABLE points (no NUMBER, point MDSYS.SDO_GEOMETRY);
CREATE OR REPLACE FUNCTION getQuad (centroid NUMBER) RETURN MDSYS.SDO_GEOMETRY DETERMINISTIC IS
BEGIN
RETURN MDSYS.SDO_GEOMETRY(2003, NULL, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,1),MDSYS.SDO_ORDINATE_ARRAY(centroid-5,centroid-5,centroid+5,centroid-5,centroid+5,centroid+5,centroid-5,centroid+5,centroid-5,centroid-5));
END;
INSERT INTO USER_SDO_GEOM_METADATA VALUES('quad','tiedge.getQuad(centroid)',MDSYS.SDO_DIM_ARRAY(MDSYS.SDO_DIM_ELEMENT('X', -100, 100, .0000001), MDSYS.SDO_DIM_ELEMENT('Y', -100, 100, .0000001)),NULL);
CREATE INDEX quad_idx on quad(getQuad(centroid)) INDEXTYPE IS MDSYS.SPATIAL_INDEX;
INSERT INTO quad VALUES (0);
INSERT INTO quad VALUES (5);
INSERT INTO quad VALUES (10);
INSERT INTO points VALUES (1, MDSYS.SDO_GEOMETRY(1001,NULL,NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,1,1),MDSYS.SDO_ORDINATE_ARRAY(4,4)));
ALTER SESSION SET QUERY_REWRITE_INTEGRITY=TRUSTED;
ALTER SESSION SET QUERY_REWRITE_ENA[i]Long postings are being truncated to ~1 kB at this time.hi there,
For a better audience for this question, I'd look at the database forum.
guys on that will be a lot more familiar with FBIs
thanks
Barry -
Hi Guyz,
I am having small problem using LIKE function . The problem is I am using LIKE function in the WHERE clause
to compare a column to a particular value, which gets this value from the front end. If the user has a single quote in the string he entered then the LIKE function is not working because of the single quote. Is there any way I can escape the single quote like we escape '%' and '_'.
Thankyou.Mod_plsql supports bind variables, as do almost all front-end tools that deal with Oracle (and most other databases). I do not code mod pl/sql myself, but others here do, and I see bind variables in their code all the time (if I don't, they hear from me :-)).
If you pass a bind variable, the quote problem goes away. As far as I know (which is not very far), you should be able to take the string with the quote directly from your input field, bind it to the variable in your query and have no problems.
I suspect that the reson you are having issues is that you are just gluing strings together to create a sql statement. this is the wrong approach.
The java term for what you are looking for is prepared statement, I'm not sure what the equivalent is i mod plsql, but that should give you a start.
John -
Turkish character problem in business explorer excel
in my query there are columns which have turkish characters but they are not displayed correctly instead of it ,"?" question mark character appears in Excel .
old queries that already created before mine display turkish character correctly.
What is the settings that i missed?
what can the reason be ?
Thanks alot.Thank you for reply Raj,
But the problem does not depend on uploading or downloading excel file. When I upload/download an excel file from the report list or when I use FM gui_download for inserting rows into excel file that runs perfect. When I open excel file, I can see all Turkish characters well.
The problem is that I composed a program which sends an e-mail with excel attachement to receipents automatically. After converting internal table to excel file in the program lines, I uses FM SO_DOCUMENT_SEND_API1 with the parameters as below:
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = w_doc_data
put_in_outbox = 'X'
sender_address = ld_sender_address
sender_address_type = ld_sender_address_type
commit_work = 'X'
IMPORTING
sent_to_all = w_sent_all
TABLES
packing_list = t_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = t_receivers
While debugging, I can see TR characters well before posting " t_attachment" in FM .After running the FM and posting the e-mail the problem occurs. When I check the excel file in SOST t-code making display , I cannot see TR characters properly as mentioned above. I hope the problem description is clear. -
Turkish character problem on AFCS
I want to run an authentication by AFCS through zend_amf and php. I’m using Tom Krsha's sample service.
<?php
require_once("afcs.php");
class AFCSService{
public $account;
public function __construct(){
$this->account = new AFCSAccount("http://connectnow.acrobat.com/<MY ACCOUNT>");
$this->account->login("<MY USERNAME>","<MY PASSWORD>");
public function getToken($room,$user,$password){
// EXTERNAL AUTHENTICATION LOGIC
if($user == "tom" && $password == "tom"){
$session = $this->account->getSession($room);
$fullname = "ÜĞŞÇİ";
$id = 123;
$role = 50; // publisher
$token = $session->getAuthenticationToken("<MY SECRET KEY>",$fullname,$id,$role);
return $token;
return null;
?>
if there is a Turkish character like "ü,ğ,ş,ç,ı" in their fullname, I'm getting error, if I replace the Turkish characters with "u,g,s,c,i" everything is Ok
Error output;
Error: Invalid username or password:Login again
at com.adobe.rtc.authentication::AbstractAuthenticator/onLoginFailure()[C:\work\main\connect \cocomo\src
\com\adobe\rtc\authentication\AbstractAuthenticator.as:182]
at com.adobe.rtc.authentication::AbstractAuthenticator/onAuthorizationFailure()[C:\work\main \connect
\cocomo\src\com\adobe\rtc\authentication\AbstractAuthenticator.as:197]
at com.adobe.rtc.session.sessionClasses::MeetingInfoService/onComplete()[C:\work\main\connec t\cocomo\src
\com\adobe\rtc\session\sessionClasses\MeetingInfoService.as:313]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
How can I solve this problem?
is there a relation with this problem and the headers in the afcs.php file?
$headers = array("Content-Type" => 'text/xml');Thanks for your reply Raff.
Works Great. You will update the method. -
Native Language (Turkish) character problem
Hi,
When I generete output in Oracle EBS's publisher all my native language Turkish characters are in unwanted format. How can I solve this problem?
ThanksYou need to have the Turkish character font you are using in your template, available on the server. You need to use the font manager to load it into the EBS instance.
check out the following
http://blogs.oracle.com/xmlpublisher/2006/06/how_to_install_a_font_using_xm.html
Regards
tim -
Problem using jolt function checkAuthentication. chkauth:J_CHECKAUTH FAILED
Hi, I'm using jolt 8.1.
When I attemp to chek security requirements using the function checkAuthenticationLevel() of the class JoltSessionAttributes it gives an error.
I have previously setted the address:
JoltSessionAttributes = new JoltSessionAttributes();
sattr.setString(JoltSessionAttributes.APPADDRESS, "//50.88.43.237:6005");
sattr.checkAuthenticationLevel();
Then it fails:
bea.jolt.SessionException: Cannot connect to any //50.88.43.237:6005.
Reason:NwHdlr: Network Error: chkauth: J_CHECKAUTH FAILED
Any idea? thx.Hi,
I was facing a similiar problem but when i changed the port number it didnot give me this error but now its giving me bea.jolt.ServiceException:Service is not available:GETKEYS.
Can you help me solve this -
Hi all,
My problem is that when i use ago function it displays next months value for example first column shows balance of april month and next to it ago column displays balance of the may not march. I am really confused. Please help,
AGO(SR02BriefIncome.sr02_cube.BALANCE, SR02BriefIncome.timesDim."times Detail", 1);Hi Nico,
Another question in relation to Ago function; I need to get value/balance a year ago which is 12 months ago, and also previous year's last months balances; the problem is that Ago function takes only integer, I have tried to put a variable, Is there is way i can get balances of the previous year's last month because it will be much easier to get it using built-in ago function.
Also i need help with your answer for thread How to use row values in Presentation or Administration for calculation
Re: How to use row values in Presentation or Administration for calculation
"Yes, I forgot this one. Of course, this solution work when you have a pivot column.
If you talk about period to period comparison, really often I must do a share like this one : ($2-$5)/$5.
And unfortunately, this is not possible in a calculated item. Is it ?"
We have a lot of reports with inter-row calculations, we have already used a lot sql model but we would like use answer also. Can u explain it with exact examples or steps.
thank you again, -
Problem using MDX functions in Answers Filter
I'm using OBIEE 10.1.3.2.
I'm using an Essbase cube as my datasource (aggregate storage).
My level 0 members in my Date dimension are of the format yyyy-mm-dd (e.g., 2011-08-13)
I have a dashboard prompt selecting the date from a calendar which returns the date and time (yyyy-mm-dd hh:mm:ss). So naturally I can't do just a straight equals between the prompt value and the member value.
What I've written in the filter sql in Answers is: Date.Days = Evaluate('SUBSTRING(%1,1,10)','@{varStartDate}')
The log shows the following:
-------------------- SQL Request:
SELECT Date.Days saw_0, main.total_completed_orders saw_1 FROM SIKAgg2 WHERE Date.Days = Evaluate('SUBSTRING(%1,1,10)','2011-08-09 00:00:00') ORDER BY saw_0
-------------------- Sending query to database named mezen (id: <<9648>>):
With
set [Date4] as 'Filter([Date].Generations(4).members, (([Date].CurrentMember.MEMBER_ALIAS = "2011-08-09 00:00:00" OR [Date].CurrentMember.MEMBER_Name = "2011-08-09 00:00:00")))'
select
{ [Measures].[total_completed_orders]
} on columns,
NON EMPTY {SUBSTRING(,1,10)SUBSTRING(,1,10)SUBSTRING(,1,10){[Date4]}} properties ANCESTOR_NAMES, GEN_NUMBER on rows
from [SIKAgg2.main]
So with all that being said it doesn't appear that the MDX function SUBSTRING is actually doing anything.
1) Am I using the function incorrectly?
2) Is there a better way to do this? I really just need to get rid of the time portion of the variable from the date prompt.
Any help/guidance would be greatly appreciated. Spending too much time with trial and error approach.
Thanks,
BradBrad,
Try this way..In OBIEE RPD - Physical Layer for level 0 members in my Date dimension. Double click this member and check its type. Change the type to 'DATE' from 'DATETIME'. Delete the Date Dimension in BMM layer & Presentation Layer for again drag and drop from Physical Layer after changing the Type in physical layer.
Normal way of building the RPD using Essbase
Something similar to this http://www.rittmanmead.com/2009/03/dates-timestamp-and-oracle-bi-answers-filters/
This shud solve your timestamp problem everywhere. This is one of the most common problem for Oracle sources. I have essbase as a source but unfortunately I can't replicate it as this is not having time level.
Let me know if this solves your problem...
In case the type is DATE only in RPD then I'll try to provide a diff soln here.
Hope this helps -
Problem using extract function (PL/SQL) with "&#34"
Hi,
When I use extract function (PL/SQL), it does not transform well """. Insted of returning ' " ' , it returns ' " '.
I know this works changing the code replacing xml.extract for SELECT extractvalue(xml,'//A/text()') into v from dual;
But Is there another way to do this using PL/SQL? any patch, option..?
RegardsHad to use my website to demonstrate the code...
As said, whatever I try here the code gets automatically converted...
See for answer on your question: http://www.liberidu.com/blog/?p=635 -
International character problem using WE8ISO8859P1
I have a database that has WE8ISO8859P1 charset.
Character data in this database has ASCII characters (char_code < 128) and some international characters (193 < char_code < 255).
There is no problem seeing, inserting and updating those international characters if SQL*Plus or Forms Runtime or Reports Runtime is used (client NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1).
But if Java is used (both thin and oci8 Oracle JDBC drivers, JDK 1.3.1), those international characters show up as "?" symbols, if retrieved using getString(). Only if getUnicodeStream() is used, then it is possible to get correct character codes, but according to RFC 1345 all codes 0 to 255 are valid ISO-8859-1 encoding codes and therefore some questions:
1. why Oracle JDBC driver does not return those international characters?
2. how to reconfigure Java program or DB to get those characters using getString() [not getUnicodeStream()]?
I have tried on Oracle7 and on Oracle9i, but the same problem on both (DB charset WE8ISO8859P1).
Any ideas?
Thanks in advance,
AldisUsing the following function solves:
CALL METHOD CL_ABAP_CONV_IN_CE=>CREATE
EXPORTING
INPUT = l_xstring
ENCODING = 'UTF-8'
REPLACEMENT = '?'
IGNORE_CERR = ABAP_TRUE
RECEIVING
CONV = loc_CONV. -
Turkish character problem in SAPScript
Hi ,
I have created a SAPScript form (Purchasing - RFQ) original language is TR, and created a copy of this in language EN.
I have problem with Turkish characters when printing an RFQ in English.
Any comments ?
Thanks.
Utkuhii
The logic to build SAP Script and Smart form of all languages will be same. But while working on Asian language please take care of the following points.
1 Make sure you logon to SAP in turkish language only.
2 At the Operating system level install the turkish language.[Control panel - >Regional and language Option - >language Tab - > Click on Install Files for East Asian languages] If these language already installed then click on Detail and add the turkish languages .
3 At SAP level click on Customizing of Local layout[Alt+F12] and click on options.Go to tab I18N and click on Activate the multi-byte functionalities to support check box.
4.Take care of the Font while assigning to Character formar or paragraph format. Dont use normal font name.
USE turkish FONT
Revert back for more help
Regards
Naresh -
Compilation problems using NVL function in Pro*C subselect
I have come across a weird oracle problem. When I execute the following query in SQLPlus it works but when
I include it in Pro*C code in a EXEC SQL statement it gives syntax errors and fails to compile. Any idea what I am doing wrong.
SELECT DISTINCT
A.ID_PERSON,
C.ID_STAGE_PERSON_LINK ,
A.NM_PERSON_FULL,
A.NBR_PERSON_AGE,
A.ADDR_PERSON_ST_LN_1,
A.ADDR_PERSON_CITY,
A.ADDR_PERSON_ZIP,
A.CD_PERSON_STATE,
A.CD_PERSON_COUNTY,
A.NBR_PERSON_PHONE,
C.CD_STAGE_PERS_REL_INT
FROM
PERSON A,
STAGE_PERSON_LINK C
WHERE
C.ID_CASE = 88776721
AND A.IND_INVALID_PERS IS NULL
AND C.CD_STAGE_PERS_TYPE = 'PRN'
AND C.ID_PERSON = A.ID_PERSON
AND C.ID_STAGE_PERSON_LINK =
NVL (
(SELECT MAX(F.ID_STAGE_PERSON_LINK)
FROM STAGE_PERSON_LINK F
WHERE F.ID_PERSON=C.ID_PERSON
AND F.ID_CASE = C.ID_CASE
AND F.CD_STAGE_PERS_TYPE = 'PRN'
AND F.CD_STAGE_PERS_REL_INT IS NOT NULL)
(SELECT MAX(G.ID_STAGE_PERSON_LINK)
FROM STAGE_PERSON_LINK G
WHERE G.ID_PERSON=C.ID_PERSON
AND G.ID_CASE = C.ID_CASE
AND G.CD_STAGE_PERS_TYPE = 'PRN')
AND A.ID_PERSON NOT IN
SELECT S.ID_PERSON
FROM STAGE_PERSON_LINK S,STAGE T
WHERE S.ID_CASE = C.ID_CASE
AND S.ID_CASE = T.ID_CASE
AND S.ID_STAGE = T.ID_STAGE
AND T.CD_STAGE <> 'INT'
MINUS
SELECT H.ID_PERSON
FROM STAGE_PERSON_LINK H, STAGE F
WHERE H.ID_CASE = F.ID_CASE
AND H.ID_STAGE = F.ID_STAGE
AND H.ID_CASE = C.ID_CASE
AND H.CD_STAGE_PERS_ROLE <> 'XE'
AND F.CD_STAGE <> 'INT'
This query returns data when run in sqlplus.When used in a Pro*C C program and compiled the precompiler complains with syntax errors when used with EXEC SQL DECLARE CLSS82D_CURSOR CURSOR FOR < query above >.However removing the NVL function and retaining the subselect clause compiles but that is not what I want to do.
Syntax error at line 262, column 20, file clss82d.pc:
Error at line 262, column 20 in file clss82d.pc
SELECT MAX( F.ID_STAGE_PERSON_LINK )
...................1
PCC-S-02201, Encountered the symbol "MAX" when expecting one of the following:
( ) * + - / . @ | at, day, hour, minute, month, second, year,
The symbol "(" was substituted for "MAX" to continue.
Syntax error at line 263, column 10, file clss82d.pc:
Error at line 263, column 10 in file clss82d.pc
FROM STAGE_PERSON_LINK F
.........1
PCC-S-02201, Encountered the symbol "FROM" when expecting one of the following:
, ) * + - / | at, day, hour, minute, month, second, year,Pro*C works bit differently tha sqlplus. try removing the blank line after
SELECT MAX(G.ID_STAGE_PERSON_LINK)
FROM STAGE_PERSON_LINK G
WHERE G.ID_PERSON=C.ID_PERSON
AND G.ID_CASE = C.ID_CASE
AND G.CD_STAGE_PERS_TYPE = 'PRN')
good luck,
Gauranga -
Discoverer 3.1.36.06 Turkish character problem
Hi,
I am trying to get reports using Discoverer 3.1.36.06. Though my
database is Turkish and I can select accurate Turkish characters
from it using TOAD or reporting tools like Business Objects,
there occurs a problem when using Discoverer to produce reports,
which is some Turkish characters are not correctly seen.
Any help would be appreciated.
Thanks.I tried to recreate what you described above with my version of the Admin edition and could not reproduce it. I am currently using Admin Release 3.1.41 which is a patch to 3.1.36. It appears that your problem is fixed with a patch but you will want to look over the documentation to see exactly what the patch will fix for you. Hope this helps you. Good luck.
Maybe you are looking for
-
Can I configure to always delete the master file?
Hi! If I want to delete a file, I don't just remove it from the cataloge, but to delete the master file, too. If I use the remove key, I get the (annoying) pop up, what I want to do: (sorry, I've a german version, so I just try to translate it) Delet
-
Dear Experts, When I tried to post a GR there was Runtime Error MESSAGE_TYPE_X : What happened? The current application program detected a situation which really should not occur. Therefore, a termination with a short dump was tr
-
Website not displaying in Firefox. Works fine in IE 10 & Chrome. Windows 8/x64
Using Firefox 21.0 on Windows 8/x64. I am experiencing some sites where Firefox displays an odd looking graphic but none of the UI that displays in Chrome or IE 10. I can re-create it for example by going to http://www.basspay.com. I'm stumped. I rem
-
Outer join on more than 2 tables
I have difficulties joining more than 2 tables with Oracle 8.1.7. How can I solve this problem? SQL> select 2 G.NOM_GARE, F.VOIE 3 FROM FIN_POSTE F, TYPE_GARE G, 4 ( SELECT MATRICULE, RED_CPT1 FROM REDDITION, 5 ( SELECT SUM( PRIX_TOTAL ) CR, MATRICUL
-
Hi, Not really sure where to put this but was wondering if anyone new of the best sites to use for blogging as I am travelling round the world and want people to see what I am up to. I have looked at Blogger but it seems a bit basic. Also does anyone