Junk characters are displayed in report output

Hi Gurus,
We are facing an issue while generating a report developed in Oracle 10g, while fetching the data in one column the report is displaying junk characters although while running the query on the database the value is coming correct for the same column. We are writing the report data on the AIX and with the help of WEBUTIL the reports gets transferred on the client machine which is having windows XP as operating system. Although we have many reports running on the same concepts but only in this particular report the issue is coming.
Our AS Version is 10.1.2.3.0
OS Version is AIX 5.3
Please provide some solution.
Thanks in advance.
Regards,
Pradip

Hi Roberto,
Thanks for your reply.
As per your suggestion , I had checked with both DB & AS both are same i.e.
In DB it displays the value AMERICAN and for AS it displays NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
Please give some idea. Sometimes this report gives the right output and sometimes gives output having one column with junk character of CSV file.
Regards,
Pradip

Similar Messages

  • Junk characters like" � � "displayed in the jsp page please help.

    Hi,
    I am getting junk characters like � � displayed in the jsp page.
    In the JSP page i used javascript "& nbsp" for appending spaces to a string "CCR" to get "CCR " .
    Now the Resultant string "CCR " has three spaces appended to its right.
    This String is set in session in that JSP page.
    In the next JSP page i am getting that string from session.
    After getting the string the "substring" function is performed to get only the first 5 charcters of the string. Now the result is displayed as " CCR� � " with has last 2 characters as junk values � � insteed of displaying as "CCR ". Please help me in solving this issue.
    Please note that initially the sting "CCR" is got from the Oracle database in Solaris Machine.
    Regards,
    Vijay

    have you tried:
    strenuously inspecting the string that is coming from the db? do an actual loop over the string, character by character, dumping to System.out to make sure the characters are EXACT coming out of the db.
    note you have to append " " not just "& nbsp"
    post the code that is doing the output. the relevant bean code, the jsp, everything relevant - WITH COMMENTS discussing where things are happening.
    Also, is it "weird characters" in the browser only? have you done a view source on the actual html source that the browser is rendering (right click in IE and click view source). browsers can act odd if you don't feed then exactly what they want, and it looks like you're feeding it escaped characters that it is rendering as something else.

  • Arabic characters are displaying as question marks in forms 10g

    We have migrated our application from forms 6i to forms 10g and now in forms 10g the arabic characters are displaying as question marks while it displays correctly in the old application using forms 6i. I have already set the character set to AR8MSWIN1256 in the registry, but it didn't help. Somebody please help.

    @ Sarah, Al-Salamu Alikum We Rahmatu Allah we Barakatu,
    Sarah Habibty, why new installation ? In order to select a new suitable character set !!!
    Then creating a new instance from the db is a better alternative since it saves time,effort and another back up of his current db is exist safely if needed for any purposes in the future.
    @Amer,honestly speaking...
    Modifing ur NLS_LANG to > AMERICAN_AMERICA.AR8MSWIN1256
    Works for me in both Arabic and English data in 2 applications.This works in my pc.But it didn't works at my boss pc this can happened don't have any reason for that.!!!!
    i spent lot's of time trying to search but what i had got is that solution i suggested by a friend of mine.
    Now please could you advise me, is it better to create a new instance of database as Amatu Allah has suggested or is it better to change the character set through sql as some others have suggested? Again i suggest to select the short cut way ; to reset the character set through sql after taking a back up from ur data that is currently exist.
    then retest again doing the select and test ur data input and retrieval.
    SQL> select * from v$nls_parameters
    2 where parameter in ('NLS_CHARACTERSET','NLS_LANGUAGE');watching the output if it works that's fine saving ur time & effort .
    if not working with the correct NLS_CHARACTERSET then use my previous solution.
    Hope this helps...
    Regards,
    Amatu Allah

  • Font not displaying on Reports Output (RHEL 5) for 10g

    Hi, I know I've posted a question in the past about a font not displaying on Report Output for my Arial, Arial Narrow, and Courier New fonts. I worked with Oracle Support and found that Metalink Note#261879.1 fixed my problem with those 3 fonts. I ran the scripts and now that part works great.
    However, I have one font "ARIALUNI.TTF" that will not work. This is out specific barcode font we use. I've pushed it on Linux from my Windows by pushing it as a binary file to the ORACLE_HOME/guicommon/tk/admin/TTF directory. I even put it in the directory for TTF on Metalink Notoe 261829.1 and let it create the files, but it still doesn't find it when I ran a report that uses this font.
    I tried using font subsetting via the uiprint.ali and make a reference but it still doesn't seem to work.
    Is there something I'm missing that would cause any of these not to work. I thought maybe some files had to be created under the guicommon/tk/admin/AFM file directory but I'm not sure.
    I just want to have my 2 or 3 reports that use this barcode to work. Once I get them, I'm done and all my font issues are resolved. Any help is appreciated.
    Chris

    They are probably a very old Type 1 font. Try checking the dates on the font files. Your best bet would be to get the OpenType versions of those fonts and install them.

  • Korean characters are displayed as blank box on the TextField in Galaxy Note 3/Android 4.4/AIR 4.0

    The AIR SDK we used is 1/14/2014 Release - AIR 4.
    The device we have tested on is Samsung Galaxy Note 3/Android 4.4.
    We found that it's quite similar with Bug 3681788 which has been fixed in Beta version 4.0.0.1619.
    We checked the issue again with this beta version, and the result is Chinese characters are shown correctly, but Korean's are still not.
    Bug 3681788: The CCJ languages characters are displayed as blank box on the TextField.
    Hope it can be fixed as soon as possible.

    Japanese Characteres have same issue.
    We tested on ASUS Nexus 7/Android 4.4.2/AIR 4.0 and Japanese characters are displayed as blank box in the TextField.
    The AIR SDK we used is February 20th 2014 Release - AIR 4.
    The device we have tested on is ASUS Nexus 7/Android 4.4.2.
    AIR SDK 3.6 worked fine.
    AIR SDK 3.9 has same issue.
    We tested Chinese on ASUS Nexus 7/Android 4.4.2/AIR 4.0, and Chinese Characters are displayed as blank box in the TextField.
    I doubt that Korean Characters will also displayed as blank box.( Sorry we cannot read or write Korean so we couldn't test it)
    I am guessing GalaxyNote 3(4.4) may also have same issue with Japanese.
    Hope this helps
    Kenta

  • Chinese characters are displayed as blank box on the TextField in Taiwan Android 4.4.2/AIR4.0

    Chinese characters are displayed as blank box on the TextField in Taiwan Android 4.4.2/AIR4.0, such as Nexus7, HTC One,  but in mainland China Nexus7(Android 4.4.2/AIR4.0) showed normal
    AIR SDK is 4.0.0.1628.
    Hope it can be fixed as soon as possible.
    Here is test code:
    package
              import flash.display.Sprite;
              import flash.display.StageAlign;
              import flash.display.StageScaleMode;
              import flash.text.Font;
              import flash.text.TextField;
              import flash.text.TextFieldAutoSize;
              import flash.text.TextFormat;
              public class TestFont extends Sprite
                        public function TestFont()
                                  stage.scaleMode = StageScaleMode.NO_SCALE;
                                  stage.align = StageAlign.TOP_LEFT;
                                  var sprite:Sprite = new Sprite();
                                  var value1:String = "简体中文测试";
                                  var value2:String = "繁體中文測試";
                                  var txt11:TextField = createTextField(null, "11 "+value1);
                                  txt11.x = 10;
                                  txt11.y = 10;
                                  sprite.addChild(txt11);
                                  var txt12:TextField = createTextField(null, "12 "+value2);
                                  txt12.x = txt11.x + txt11.width;
                                  txt12.y = txt11.y;
                                  sprite.addChild(txt12);
                                  var txt21:TextField = createTextField("STHeitiTC-Medium","21 "+value1);
                                  txt21.x = 10;
                                  txt21.y = txt11.y + txt11.height;
                                  sprite.addChild(txt21);
                                  var txt22:TextField = createTextField("MSYH","22 "+value2);
                                  txt22.x = txt21.x + txt21.width;
                                  txt22.y = txt21.y;
                                  sprite.addChild(txt22);
                                  var lastY:int = txt22.y + txt22.height;
                                  var fonts:Array = Font.enumerateFonts(true);
                                  var index:int = 0;
                                  for each (var font1:Font in fonts)
                                            index++;
                                            var txtF:TextField = createTextField(font1.fontName, index + "/" + fonts.length + " " + font1.fontName + " "+value1 +" " + value2);
                                            txtF.x = 10;
                                            txtF.y = lastY;
                                            sprite.addChild(txtF);
                                            lastY += txtF.height;
                                  addChild(sprite);
                        public function createTextField(font:String, value:String):TextField{
                                  var txt:TextField = new TextField();
                                  txt.autoSize = TextFieldAutoSize.LEFT;
                                  var format:TextFormat = new TextFormat();
                                  if(font != null){
                                            format.font = font;
                                            txt.defaultTextFormat = format;
                                            txt.setTextFormat(format);
                                  txt.text = value;
                                  var dformat:TextFormat = txt.defaultTextFormat;
                                  if(dformat != null){
                                            txt.text = value + " |" + dformat.font;
                                  if(font != null){
                                            txt.setTextFormat(format);
                                  return txt;

    I am in mainland China, my Nexus7 can display chinese characters, but my friend in Taiwan, his android4.4.2 display chinese characters as blank.
    I don't understand the reason.
    By the way, TextFormat.font don't work, whatever I set any fonts, display are the same.
    My screenshots:
    Taiwan's screenshots:

  • Japanies characters are converting to # in output file in open dataset

    Hi Experts,
    I am trying to transfer data from my internal table to application server. When i use
    Open Dataset e_file for output in text mode encoding NON-UNICODE ignoring convertion errors.
    All Japanies and chines characters(double byte characters) are converting to "#" in output file. I have used set locale language commend also.Still same problem is there.
    Could you please any one help me on this.
    Thanks
    Srinivas

    hi
    problem exporting text in hebrew
    Similar kind of problem has been solved here.. check that link first
    Use the class CL_ABAP_CONV_OUT_CE and use it to convert file from unicode to ascii.
    After that you should call OPEN DATASET IN LEGACY MODE and write the file.
    you have to find the Code Page format for japanese here..
    Is your system Unicode enables, if not please check whether you have japanese installed on your system.
    Run the program RSCINST in SE38 which throws a pop up if u work on a Unicode system and also shows what are the language packs currently installed on ur system.... if u dont have Japanese installed then u need to contact Basis People for installion of that language pack

  • How to Handle Junk Characters in BI Publisher Report?

    Hi Team,
    I have Created a column in obiee analytics report which has logic as '1/0'. After creating this column I am not getting result for this column(blank).
    When Extracted the report into XML file,I am not able to see value for that column as well. This is what I need too.
    But issue is, For my layout(below is sample example of my layout) It is not displaying the value as is in Analytics report in BIP Report. In Anlytics report I am getting Blank.In BIP it is giving the Junk Characters. Ex: SG&A row.
    I need to replace this Junk characters with space.This is my requirement.
    (p) Fuel
    0
    0
    0
    0
    0
    0
    0
    0
    0
    (q) Other Variable
    1,543
    1,325
    218
    4,123
    3,976
    147
    4,123
    3,976
    147
    Total Cost Of Goods Sold (Excl. S/L)
    28,944
    30,239
    -1,295
    87,252
    89,408
    -2,156
    87,252
    89,408
    -2,156
    (r) Straightline Expense
    1,679
    1,976
    -297
    4,501
    5,929
    -1,428
    4,501
    5,929
    -1,428
    Total Cost Of Goods Sold
    30,622
    32,215
    -1,593
    91,753
    95,337
    -3,584
    91,753
    95,337
    -3,584
    Gross Profit (Excl. S/L)
    -133,526
    -130,796
    -2,730
    -397,999
    -392,800
    -5,991
    -397,999
    -392,800
    -5,199
    SG&A









    (s) Payroll & Related
    4,515
    6,158
    -1,643
    14,910
    18,521
    -3,611
    14,910
    18,521
    -3,611
    here is the XML code for SG&A record:
    - <G_1> 
    <COLUMN0>MAR-2013</COLUMN0> 
    <COLUMN12>SG&A</COLUMN12> 
    </G_1>
      Can you please help me in achieving this.
      Thank You in Advance,
      KK.

    Hi,
    there's no direct support for the format triggers out of Oracle Reports. Therefore they are mentioned in the log file and in the created layout after conversion the objects with format triggers are colored red to show, that there you had to do some additional work.
    Currently you had to built the logic of format triggers in BI Publisher new. Hve a look in the User Guide, there are some examples for if or choose statements.
    regards
    Rainer

  • Multibyte characters not displaying on report

    Hi there,
    I am having a problem displaying multibyte characters on my report (Oracle reports 6i). These characters are needed for barcode encoding. e.g chr(203) . But when I run my report they are missing.
    Also when I do the following sql in oracle11g (the version of the db the report is working against) :-
    select chr(203) from dual;
    I get the error :-
    ORA-29275: partial multibyte character
    though it works fine for oracle 8.
    Any help much appreciated.

    Everything depends on your NLS parameters. If I do this on Oracle 11g I get:
    select chr(203) from dual;
    C
    ËFor bar coding you should use a special bar code font, e.g.:
    http://www.idautomation.com/font-encoders/oracle-reports/

  • Newbie: Simplified Chinese characters are displayed as square boxes

    Hi,
    I am using Windows XP Simplified Chinese Version SP3, Sun JDK5.0 Update 20. I want to run Apache Ofbiz POS; however, the Chinese characters (zh) in PosUiLabels.xml are all displayed as square boxes.
    I have tested run Ofbiz in Mac OS X and the Simplified Chinese are displayed normally, and other languages can also be displayed in Windows XP.
    What should I do?
    Regards,
    Terence
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
        Licensed to the Apache Software Foundation (ASF) under one
        or more contributor license agreements.  See the NOTICE file
        distributed with this work for additional information
        regarding copyright ownership.  The ASF licenses this file
        to you under the Apache License, Version 2.0 (the
        "License"); you may not use this file except in compliance
        with the License.  You may obtain a copy of the License at
        http://www.apache.org/licenses/LICENSE-2.0
        Unless required by applicable law or agreed to in writing,
        software distributed under the License is distributed on an
        "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
        KIND, either express or implied.  See the License for the
        specific language governing permissions and limitations
        under the License.
    -->
    <resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <property key="PosAdjustment">
            <value xml:lang="en">(adjustment)</value>
            <value xml:lang="es">(adjustment)</value>
            <value xml:lang="fr">(ajustement)</value>
            <value xml:lang="it">(adjustment)</value>
            <value xml:lang="ro">(adjustment)</value>
            <value xml:lang="zh">(&#35843;&#25972;)</value>
        </property>
        <property key="PosTotalReport">
            <value xml:lang="en">TOTALS REPORT</value>
            <value xml:lang="es">REPORTE TOTAL:</value>
            <value xml:lang="fr">TOTAUX</value>
            <value xml:lang="it">TOTALI STAMPA</value>
            <value xml:lang="ro">TOTAL REPORT</value>
            <value xml:lang="zh">&#21512;&#35745;&#25253;&#34920;</value>
        </property>
        <property key="PosTxId">
            <value xml:lang="en">TXID</value>
            <value xml:lang="es">Número de venta</value>
            <value xml:lang="fr">N°vente</value>
            <value xml:lang="it">IDTAX</value>
            <value xml:lang="ro">IDTAX</value>
            <value xml:lang="zh">&#20132;&#26131;&#21495;</value>
        </property>
        <property key="PosULogin">
            <value xml:lang="en">Enter User ID:</value>
            <value xml:lang="es">Ingrese su login:</value>
            <value xml:lang="fr">Entrez votre identifiant :</value>
            <value xml:lang="it">Inserire Id Utente:</value>
            <value xml:lang="ro">Introduceti Id Utilizator:</value>
            <value xml:lang="zh">&#36755;&#20837;&#29992;&#25143; ID:</value>
        </property>
        <property key="PosUPassw">
            <value xml:lang="en">Enter Password:</value>
            <value xml:lang="es">Ingrese password</value>
            <value xml:lang="fr">Entrez votre mot de passe :</value>
            <value xml:lang="it">Inserire Password:</value>
            <value xml:lang="ro">Introduceti Parola:</value>
            <value xml:lang="zh">&#36755;&#20837;&#21475;&#20196;:</value>
        </property>
        <property key="PosUserNotManager">
            <value xml:lang="en">User is not a valid manager!</value>
            <value xml:lang="es">El usuario no es administrador válido</value>
            <value xml:lang="fr">Cet utilisateur n'est pas un gérant !</value>
            <value xml:lang="it">Utente non è un manager valido!</value>
            <value xml:lang="ro">Utilizatorul nu este un manager valid!</value>
            <value xml:lang="zh">&#29992;&#25143;&#38750;&#21512;&#27861;&#31649;&#29702;&#21592;!</value>
        </property>
        <property key="PosValidating">
            <value xml:lang="en">Validating...</value>
            <value xml:lang="es">Validando...</value>
            <value xml:lang="fr">Validation...</value>
            <value xml:lang="it">Validazione...</value>
            <value xml:lang="ro">Validare...</value>
            <value xml:lang="zh">&#30830;&#35748;...</value>
        </property>
        <property key="PosVoid">
            <value xml:lang="en">Enter Order Number To Void:</value>
            <value xml:lang="es">Ingrese número de orden a anular</value>
            <value xml:lang="fr">Entrez le n° d'ordre à annuler :</value>
            <value xml:lang="it">Inserire Numero Ordine Da Svuotare:</value>
            <value xml:lang="ro">Introduceti Numarul Comenzii de Descarcat:</value>
            <value xml:lang="zh">&#36755;&#20837;&#35201;&#20316;&#24223;&#30340;&#35746;&#21333;&#21495;:</value>
        </property>
        <property key="PosWaitingFinalSales">
            <value xml:lang="en">Waiting for final sales data transmission...</value>
            <value xml:lang="es">Esperando transmisión de datos...</value>
            <value xml:lang="fr">En attente de transmission de données ...</value>
            <value xml:lang="it">In Attesa di trasmissione dei dati vendite finali...</value>
            <value xml:lang="ro">Asteptare pentru transmiterea datelor de vanzare finale...</value>
            <value xml:lang="zh">&#31561;&#24453;&#26368;&#32456;&#38144;&#21806;&#25968;&#25454;&#20256;&#36755;...</value>
        </property>
    </resource>

    When you say "displayed" I assume you mean displayed in some GUI component. In which case you should assign a font to that component which can render those characters properly.

  • Selection Variables display in report output using BEX ANALYSER 7.0

    HI All,
    I am using BEX Analyzer 7.0 , I want to display the Variables  selected in the selection screen, to be printed in the
    Report Output.when i execute the same query in 3.5 , i am getting all hard coded and selected variable values in report  output.
    But in 7.0 analyzer  i am not getting any filter values.can i know the reason for this ? do i need to do any settings ? how to display all filter values in report output.
    Thanks and Regards,
    Joseph

    Hi Joseph,
    I feel there might be personalization of variables.
    After executing the query click on "Change Variable Values" which is on Bex Tool Bar and there click on personaliztion icon and check if any personalizations are there.
    Regards
    Ravi

  • Variables display in report output in BEX Analyser 7.0

    HI All,
    I am using BEX Analyzer 7.0 , I want to display the Variables  selected in the selection screen, to be printed in the
    Report Output.when i execute the same query in 3.5 , i am getting all hard coded and selected variable values in report  output.
    But in 7.0 analyzer  i am not getting any filter values.can i know the reason for this ? do i need to do any settings ? how to display all filter values in report output.
    Thanks and Regards,
    Joseph

    Hello Joseph,
    Please check where did you kept the restriction in the filter is it in the defalut values or it is in the characteristic restrictions. If the values are in the characteristic restricion it won't display . The values need to restricted in the default option.
    Thanks,
    Geeta

  • Junk Characters are coming in the Print Preview of True Type Font

    Hi
    I am facing one issue. Here I have installed on one of the True type font of Gujarati (one of Regional language for India) language.When I see Print preview using LP01 Output device (which has SWIN Device Type) these true type font coming as Junk characters. But when I take print it is coming perfectly Ok. I want to know is there any setting required to maintain for Output device to see Print Preview in Gujarati also ?
    I feel that when System is generating output for Preview it is ignoring true type font..
    If there is any solution kindly let me know
    Regards
    Bhavin Shah

    Hi,
    Try creating the spool using the unicode device type SWINCF(see note #812821) and check the result.
    regards,
    Aidan

  • Displaying the report output in excel format

    Please help me in getting the report output in excel format.
    thnks

    I ran into a BIG problem after passing from 6i rep server to 9i rep server.
    On 6i rep server I used to set DESFORMAT='DELIMITED', and that produced reasonable tab-delimited output for reports that did not have group above (all the query groups were from left to right, not a single group having fields displayed above some other group). When deployed on rep server 9i, the same reports produced some unexplainable output: some of the rows were duplicated, but I couldn't figure out any rule.
    So, the best thing to get the reports into something that fits in .xls would be to have the output in .xml, that may be imported in Excel.

  • Chinese characters are displaying as squares in mail subject & content

    Hi when I am sending or receiving mail which is having Chinese characters in either mail subject or contents then some Chinese characters are appearing as squares.
    This issue is only coming on single system (Window XP, outlook 2007)

    Hello,
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    I'm marking the reply as answer as there has been no update for a couple of days.
    If you come back to find it doesn't work for you, please reply to us and unmark the answer.
    Cara Chen
    TechNet Community Support

Maybe you are looking for