[4.0] Junk characters in TNS list

Hi All,
first of all let me thank all the developers that worked on SQL Developer (especially the fourth version), because it is a great product, improving continuously!
The (small) problem I have on SQL Developer 4.0 is that it shows me junk characters before the first connection I have in tnsnames.ora.
For example, if I have in tnsnames.ora:
FAKE=
  (DESCRIPTION=
  (ADDRESS=
      (PROTOCOL=TCP)
      (HOST=127.0.0.1)
      (PORT=9999)
    (CONNECT_DATA=
      (SERVER=dedicated)
      (SID=FAKE)
REAL=
  (DESCRIPTION=
  (ADDRESS=
      (PROTOCOL=TCP)
      (HOST=127.0.0.1)
      (PORT=9999)
    (CONNECT_DATA=
      (SERVER=dedicated)
      (SID=REAL)
In the dropdown list of the New Connection window, instead of showing me:
FAKE
REAL
It shows something like (they are strange character I don't have in my keyboard):
ì>?FAKE
REAL
Has anybody experienced the same problem? I have Windows 7 64-bit.
Thanks in advance!

rp0428 TSharma-Oracle
Thanks for answering, unfortunately I did not well specified the situation, but I don't have any character at the beginning, it's the first thing I checked
I have even tried several solutions, like leaving or removing the stardard comment at the beginning:
# tnsnames.ora Network Configuration File: Oracle Client Path\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle configuration tools.
But it makes no difference.
Anyway I checked an ASCII map and the characters that appear are 
ASCII numbers: 139, 175 and 168
The file is Dos\Windows format and charset is UTF-8 (this is what Notepad++ says).
My keyboard is Italian (but I don't think it makes no difference) and I have modified the language of SQL Developer adding:
AddVMOption -Duser.language=en
AddVMOption -Duser.country=US
Into the sqldeveloper.conf file. But I already checked this too and it makes no difference to remove them (having SQL Developer in Italian as the OS)
Any idea?

Similar Messages

  • Junk characters in Dropdown list

    Hi,
    I am using the following code to display the values in drop down.
    But at the end i am getting some junk charactes.
    like
    1
    2
    3%$%
    or
    5
    6
    1&^&
    It is nothing like 3 or 1 has some junk characters. But which ever value is in last, the junk characters gets displayed with that.
    ===========================
    var strArray = strSubClassValue.split(",");
         var iLength = strArray.length;
         for(var i =0 ; i< iLength;i++)
         var optn = document.createElement("OPTION");
         optn.text = strArray;
         optn.value = strArray[i];
         document.getElementById("area").options.add(optn);
    ====================
    Please      let me know what is the problem
    ~Aman

    ok here's the sample of what you want to achieve:
    document.getElementById(comboname).length=1;
                              for(var x = 1;x<=parseFloat(text.substring(text.lastIndexOf("|")+1,text.length));x++){
                                document.getElementById(comboname).length++;
                                textVal = text.substring(0,text.indexOf("|"));
                                text = text.substring(text.indexOf("|")+1,text.length);
                                document.getElementById(comboname).options[x].value=textVal;
                                document.getElementById(comboname).options[x].text=textVal;}

  • Report Pdf output getting Junk characters for some boiler Plate fields

    Hi All
    For Dunning Letter Report registered in Oracle Applications,made changes in Column headings like added customer number as Kunde for German Letter
    but in pdf output it's appearing as junk characters even date field is happening like that. It's happening for German, Spanish, Italy and French Letters. Working ok for Netherlands, English.
    any input to fix this solution will be great
    Thanks
    Kamalakar.G

    Maybe you check the NLS_LANGUAGE-settings on the client where you "edit" the reports-definition.

  • Oracle Report ouput is coming in english and junk characters

    Hi ,
    I am facing an issue with oracle report output in R12.
    The Report out is coming in english and junk characters.
    this report is custom report.
    Migrated from 11i to r12 instance.it is working fine in 11i with output as PDF.
    Sample out put is attached.

    Pl see if MOS Doc 1321874.1 is relevant

  • 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

  • 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.

  • Junk characters in data transfer Program

    Hello ABAP gurus,
    i am facing the problem in an custmom made ABAP Interface program. the program has an option of downloading the files in local system(Windows system) and in Unix system (AL11). when i dwnload the files locally and feed that file to a CRM system, the CRM processes the file correctly but in case if we schedule a job then the CRM reads the file from Unix system and generates an error showing the junk characters for the special european characters. please request you guys to help me in this regard.

    Hi,
    When you download the file locally are able to see the junk character in the file.
    Logon on to the unix system and check the file content there and if any junk characters are there, usually when we upload the file then you will have those junk character being populated at the end of the record, open the file in unix and then remove those characters and reprocess that again, it will get through.
    Thanks,
    Mahesh.

  • Printer has been setup in one server but it's printing Junk characters

    Printer has been setup in one server but it's printing Junk characters
    Pdf file's sent from server and from local machine are printing fine..But prints sent from Oracle Reports are not getting printed, instead it is printing some garbage contents.

    Forgot to mention it's  10gAS (10.1.2.3) forms & reports

  • Preview Template shows junk characters

    Hi,
    I have uploaded my RTF in the Template Definition and clicked on Preview Template to view it.
    I see some junk characters coming in the PDF Preview output for the Euro symbol..If i run this as a concurrent program or run it locally in the system or preview it in format other than PDF everything else works fine..
    This issue is only when we preview the template from the Template Definitions, am having the issue of junk characters for Euro symbol.
    Any suggestions/helps pls?
    Regards,
    Genoo
    Edited by: Geno on Jan 17, 2012 11:19 AM

    Any help or suggestions please?
    Regards,
    Genoo

  • Report Output in text giving junk characters

    Hi All
    I have created custom report in rdf file format. When running the report set output as PDF means its come good. Incase i will change report output as text means its shows lot of junk characters in output time .
    How can i will solve the issue
    Sample Text Output :
    (s7BTAN CHONG MOTOR ASSEMBLIES S(s0B
    <-(s7BNo: 249, Jalan Segambut, 51200 Kuala <-(s0B
    <-(s7BSTATEMENT OF ACC(s0B
    <-(s7BAS ON(s0B (s7B16-APR-13<-(s0B
    <-(s7BSupplier (s0BAFM MART SDN BHD <-(s7BSupplier Account N<-(s0B
    NO 6 JALAN SS 4C/5
    TAMAN RASA SAYANG
    TAMAN RASA SAYANG
    PETALING JAYA
    PETALING JAYA
    SELANGOR
    Malaysia-47301
    03-78048099 Document Cur Base Curr
    Docume Curre --------- ---------------
    nt Ref Num Doc T Tranx Due D !CurRa Deb Cred Deb Cred Balan
    (s7BOpen I(s0B
    *****TESTINGABC STD INV ***********MYR 456 456 456
    *****TESTING123 STD INV ***********MYR 1000 1000 1000
    (s7BTotal Pa<-(s0B (s7B0(s0B (s7B1456(s0B (s7B1456(s0B
    (s7BTotal Outstandin(s0B (s7BCurrent(s0B (s7B31 - 60 Days(s0B (s7B61 - 90 Days(s0B (s7BAbove 90 D(s0B
    (s7B1456(s0B (s7B0(s0B (s7B0(s0B (s7B0(s0B (s7B0(s0B
    Edited by: 993525 on Apr 16, 2013 10:25 AM

    Hi
    What is your database/application characterset? - AL32UTF8
    NLS_LANG : AMERICAN_AMERICA.WE8ISO8859P1
    concurrent request log file
    -------------------+
    XXTC Custom: Version : UNKNOWN
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XXTCM_SUPPLIER_SOA module: XXTC Supplier Statement
    Current system time is 16-APR-2013 10:40:18
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_VENDOR_NUM_FROM='2'
    P_VENDOR_NUM_TO='2'
    P_INVOICE_DATE_TO='2013/04/16 00:00:00'
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    AMERICAN_MALAYSIA.AL32UTF8
    Enter Password:
    Report Builder: Release 10.1.2.3.0 - Production on Tue Apr 16 10:40:19 2013
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Output file size:
    446
    ------------- 1) PRINT   -------------
    Printing output file.
    Request ID : 607096      
    Number of copies : 0      
    Printer : noprint
    Finished executing request completion options.
    Concurrent request completed successfully
    Current system time is 16-APR-2013 10:40:20
    Thanks Sanjay
    Edited by: 993525 on Apr 16, 2013 11:38 AM

  • Report displaying junk characters or Greek or some other language

    Hi All,
    I have one Custom report in PDF. It is a simple tabular report. When I run this report from Report Builder, it runs fine but when I register it in Oracle Apps and run it from there, it displays all the characters in Greek or some other language or junk characters. Sometimes it works if I change font. But its a trial and error. I dont understand why is it happening. This has happened with one of my other reports too. It worked when I changed the font and its size. This time it didnt work. Any clue how can I fix this issue?
    Any lead will be appreciated.
    Thanks,
    CAH
    Edited by: user638181 on Sep 3, 2009 7:05 AM

    Hi Hussein,
    We have similiar issue with our custom PDF reports. We are in the process of upgrading from 11.5.9 to R12.
    All these reports work fine in 11.5.9.
    Following are the details of our R12 environment:
    1) What is the application release? Application release is 12.1.1
    2) What is application/database characterset? Database - 11.1.0.7.0 and characterset is UTF8.
    3) Is this a text or bitmap report? What is the report language? - It is a text report and Language is English
    4) Do you use PASTA for printing? - Yes we do
    5) Do you get the correct printout if you print the concurrent request output file from the OS? - If I run the report from report builder directly, Yes. If from Oracle Apps, no.
    6) Expected output: "Days in Queue"
    Actual Output: when I copy and paste the output here it is showing correct. But on the report it is showing
    something like ∆Ωµ.....
    7) If I try changing the font, it works
    8) A different text field on the same report with the same font shows good.
    I would appreciate your help on this one.
    Thanks
    Vishnu

  • Junk characters coming in the PDF report for Lithuanian language

    hi all,
    I am facing a problem like some junk characters are coming while generating the report in PDF format in Reports 10g.
    Junk characters (i.e something like revere of ?(question mark)) coming only for the special characters in the report when my application language set it as LITHUANIAN_LITHUANIA.UTF8.
    Actually our application is supporting multi langauges; like English, German, French, Lithuania etc.
    And in the Forms the the characters are appearing correctly... but while generating reports only i am having this issue for LITHUANIAN language.
    I am using back end as Oracle 10g verision 2, and front as Reports 10g only.
    Is there any way to resolve it?
    thanks in advance
    renjish

    Hi,
    I updated the reports.sh which is in Oracle Home path initailly and tried the report. But its not coming properly, some other junk characters are appearing now for the special characters
    For e.g:
    Actual English word: Funct. Group Poultry Parts Fresh
    Correct Lithuanian Word: Funct. Grupė naminių paukščių dalių, šviežios
    In Report: Funct. Grupė naminių paukšĕių dalių, šviežios
    Steps i have done:
    1. Modified reports.sh with nls_lang as LITHUANIAN_LITHUANIA.UTF8
    2. Run the report, output was coming like above e.g.
    Is anything wrong what i did?.
    or Report engine(reports.sh) will support multi-languages by using the Environment ID only(as you explained before, putting ENVID in repserver.conf - reportserver.)
    thanks
    renjish

  • PDF is converting the Thai Language characters into Junk Characters

    Hi,
    While converting the SAP Script form to PDF, it is converting the Thai Language characters into Junk Characters. But it is showing correctly if we issue it to a printer. Also it is showing correctly in print preview.
    Urgent Help is needed.
    Thanks,
    srini.

    Cross post:
    Re: PDF is converting the Thai Language characters into Junk Characters

  • Chinese Characters in Spool converted to Junk characters in PDF

    Hi,
    I have spool generated from Script , the Spool shows me Chinese Characters.When I am trying to convert the Spool to PDF using Program RSTXPDFT4 , the PDF contains Junk Characters instead of Chinese Characters.Please let me know how to get the correct Chinese Characters in PDF.
    Regards,
    Swathi

    Hi,
    For the spool you try to convert to PDF, which device type was this spool created by. It must be created via a Chinese device type like e.g. CNSAPWIN. The form used to create the spool must have language key ZH. The fonts used in the form for the Chinese characters must be a Chinese font like CNSONG or CNHEI.
    Alternatively, if you create the spool via Unicode deviec type SWINCF, then the font and the form language are not important. It should work to convert the spool to PDF regardless of the language ley or font used in the form.
    Regards,
    Aidan

  • TRIP send email which contains junk characters

    In TRIP transaction after entering TRIP and Saving it I select OVERVIEW then select Mail/Fax button and send Trip details as e-mail to any address. The email body shows Junk characters. What is the Problem. We are on ECC 6 Pack 4
    Regards,
    Sandy Raine

    You have a few problems with your script, you are giving values for the width and height for the new document and they will default the ruler unit setting you have in Photoshop, this may not be pixels.
    The font name should be the postScript name and they do not contain spaces.
    It is best to pass an encoded string to the script and then decode it in Photoshop IE:-
    var text = encodeURI('abcd\'abd\'ed\"afa');
    var bt = new BridgeTalk();
    bt.target = "photoshop";
    bt.body = bt.body = "var main = " + script.toSource() + "; main(" + text.toSource() + ");";
    bt.send(4);
    function script(text){
    var docWidth = 1650;
    var docHeight = 1650;
    var docName ='Front';
    var docRef = app.documents.add(new UnitValue(docWidth,'px'),new UnitValue(docHeight,'px'), 300,docName);
    var myLayer1 = docRef.artLayers.add();
    myLayer1.kind = LayerKind.TEXT;
    myLayer1.textItem.kind = TextType.POINTTEXT;
    myLayer1.textItem.font='Georgia';
    myLayer1.textItem.size=13;
    var textColor1 = new SolidColor;
    textColor1.rgb.hexValue = 'F8F3E9';
    myLayer1.textItem.color = textColor1;
    myLayer1.textItem.contents =decodeURI(text);

Maybe you are looking for