How to output characters?

Hi, I just started java and I wanted to know how i can output characters such as " or a degrees symbol or anything like that. I understand each character has a unicode number but I just dont know the code to output that unicode number as the character I'm refering to.
im using turbo jbuilder2007 if that makes any difference

ok sweet, thanks!
i found out the ascii code didnt include the degrees symbol, but i was able to get it from a unicode chart.
anyways, thanks for the help

Similar Messages

  • How to output sound to RCA cables?

    I give up! I can't for the life of me figure out how to output the sound from my Macbook to play on my stereo or TV which use RCA cable hook-ups.
    I got the VID ADPT MINI-DVI TO VIDEO ADAPTER-GEN but that only adapts the video, not the sound. Do I have to get some kind of optical to analog adapter?

    This would do the trick, although you can probably find something at Radio Shack for less.
    http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/wa/RSLID?mco=FFB 21895&fnode=home/shopipod/ipod_accessories/cablesdocks&nplm=TN779LL/A
    I got an iPod kit with a power supply, extra dock, and a Monster Cable (yeah I think they're overhyped) mini jack to RCA connector.
    There are a bunch of ways you can do this. If you've already got long enough RCA cables, these would do the trick:
    http://www.radioshack.com/product/index.jsp?productId=2103710
    Or if you have a short distance, maybe something like this (doesn't say how long it is):
    http://www.radioshack.com/product/index.jsp?productId=2427991
    There are more attractive versions of this type of adapter. Radio Shack shows at least a dozen from different companies.

  • How GET Output to Excel with Oracle9i Report using OC4J

    how GET Output to Excel with Oracle9i Report using OC4J.
    I FINISHED THE SETPS CONCIDERING THE JSP CODE NEEDED TO GET THE EXCEL OUTPUT ON LOCAL MACHINE.
    I NEED TO PUBLISH THIS REPORT THROUGH APPLICATION SERVER.
    THE QUESTION IS:
    1- HOW TO START AN OC4J INSTANCE FROM ORACLE 9I DS FOR THIS REPORT?
    2- WHERE (PATH) TO PUBLISH THE REPORT ON THE APPLICATION SERVER?
    3- WHAT IS THE DEFAULT URL TO RUN THIS REPORT AND WHERE TO PUT IT?
    4- HOW TO MAKE MAPPING FOR DIRECOTRY PATH TO TRANSLATED AS URL FOR THIS REPORT?
    5- IF ANY ONE CAN GIVE ME THE FULL CODE TO RUN AND CALL SIMPLE JSP REPORT TO BE VIED IN INTERNET EXPLORER.
    THANK YOU

    Hi,
    I can't answer to all your questions, however I can tell you that:
    2) The directory where to put the report file is specifiend in a file named
    <serverName>.conf
    in the sourceDire property
    <property name="sourceDir" value="/directory/dove/mettere/i/report"/>
    that you can find under ORACLE_HOME/reports/conf
    3) The URL is
    http://<server IAS address>:<port number>/<jsp file path>/<repName>.jsp?server=<report server name>&userid=<user>/<pwd>@<DB conn string>[&<param>=<valore>[&...]]
    5) In IE you have only to set the previous URL in the address bar.
    Hope this helps you
    Bye
    Raffy

  • How pass ext characters to a stored proc by odbc when enable sqlserver syntax is on??

    how pass french characters or extended characters to a stored procedure by odbc
    error: ORA-01756: quoted string not properly terminated
    une chaine entre apostrophhes ne se termine pas correctement
    oracle Retrieving extended characters thru ODBC
    PL/SQL procedure parameters
    hi, i hope you can help to me.
    I have a problem with french and german characters.
    i have a little stored procedure than return what i'm passing to him.
    see these example: (the second one work fine on plsql)
    first exemple:
    1) i created a new odbc dsn
    2) i'm going into sqlserver migration tab to choose
    Enable Exac Syntax.
    3) i'm open Winsql (this is a odbc tools)
    http://www.indus-soft.com/winsql/
    4) i'm write
    exec ksp_test 0,'HiLLO ORACLE'
    i receive this error:
    Error: ORA-01756: quoted string not properly terminated
    (State:S1000, Native Code: 6DC)
    I trying to changed too the NLS_LANG in the registry
    like FRENCH_CANADA.WE8ISO8859P1
    French_France.WE8ISO8859P1
    but without any success..
    i got the same problem with
    oracle 9 database with utf8 characters set.
    oracle 8.1.7 with iso8859p1 characters set.
    i trying all latest odbc driver from oracle website.
    second exemple:
    SQL> variable mytest refcursor;
    SQL> exec ksp_test (0,'HiLLO ORACLE',:MYTEST);
    PL/SQL procedure successfully completed.
    SQL> PRINT MYTEST;
    Your Database Value
    HiLLO ORACLE
    CREATE OR REPLACE PACKAGE KSP_PLSQLRSETPKG
    AS
    TYPE RCT1 IS REF CURSOR;
    END;
    CREATE OR REPLACE PROCEDURE KSP_TEST (
    PATCH INT DEFAULT 0,
    PONC VARCHAR2,
    RC1 IN OUT KSP_PLSQLRSETPkg.RCT1
    AS
    BEGIN
    OPEN RC1 FOR
    SELECT PONC "Your Database Value" FROM DUAL;
    FROM DUAL;
    RETURN ;
    END;
    i'm trying also different nls setting but no good result.
    AMERICAN_AMERICA.US7ASCII
    AMERICAN_AMERICA.WE8MSWIN1252
    FRENCH_CANADA.WE8DEC
    FRENCH_CANADA.UTF8
    FRENCH_CANADA.WE8MSWIN1252
    FRENCH_FRANCE.WE8DEC
    FRENCH_FRANCE.UTF8
    FRENCH_FRANCE.WE8MSWIN1252
    is working well on sqlplus but not by odbc..
    also..
    i'm declare a variable and
    i set
    v_variable := 'id'
    and the procedure return the good syntax...
    i think is a odbc driver problem....
    the driver don't want to accept a extended characters set by a parameters coming from the procedure.
    can you confirm to me ..this is a major bug for the driver..
    my procedure is very basic to make a little test.
    did you try my procedure to be sure you have the same problem?
    i try with a oracle instance utf8,WE8MSWIN1252 and
    i got always the same problem.
    if i write insert into test values ('di');
    everything is fine...but when i call the procedure...
    the procedure don't want to accept any german..french or any extended characters...
    our application is working by odbc driver.
    i'm pretty sure is a bug in the driver ...the bug is coming only when i select "ENABLE EXEC SYNTAX" IN THE DSN (SQLSERVER MIGRATION SECTION) ... i try with Shema Database and Owner and Empty and i got
    always the same problem
    exec KSP_TEST 0,'TiEST'
    ------------------------>>>>>>>NOT WORKING.
    BUT IF I WRITE
    CALL KSP_TEST (0,'TiEST')
    ------------------------->>>>IS WORKING
    if i select enable exec or i unselect enable exec...
    the CALL KSP_TEST...... is always working properly.
    BETWEEN THESE SYNTAX THE NLS_LANG IS NEVER CHANGED....
    IS WORKING.....THE NLS_LANG IS GOOD.......because i make a little modification in procedure to be sure the INSERT IS inside the database CORRECTLY.
    CREATE OR REPLACE PROCEDURE KSP_TEST
    PATCH INT,
    PONC VARCHAR2
    AS
    v_test varchar2(100);
    BEGIN
    v_test := 'test';
    INSERT INTO YYY VALUES (PONC);
    END;

    If  "just using Crystal Reports XI R2" means using Crystal Report Viewer and do not want to see the prompt, please follow the below steps.
    1. Select the report you want to see
    2. Select "Process" tab
    3. Select Parameters menu under the process tab.
    4. You would see two date parameters there.
    Select the [Empty] value for each parameter and fill out the value you want.
    Hope this would help.

  • How to output video to TV or Home Theatre? (iphone)

    How to output video to TV or Home Theatre? (iphone)

    I recently bought a AV projector and was asked by a smirky but envious friend the same question, after watching me hook up my powerbook, having already purchased an ipod video 30gig with the UNIVERSAL DOCK with remote control and ifrared remote control I remembered reading about it also working with the iphone, so it having a s-video output with a audio mini output port, I plugged the iphone into it and it came up with a little message saying this is not a iphone compatible device, and asked me to turn on airport, I ignored the request and it just clicked over to the itunes section, I picked a video and presto instant big screen projection TV off the iphone, How IMPRESSIVE! then I went to utube launched a utube video and wow how cool it also played seamlessly, although it pays to let the Youtube videos buffer for a minute to get a better play off the EDGE net work verse the Wi-Fi, I plan on having lots of out door theatre shows this summer with this very compact multi-media package, What a hoot! Get the universal dock no glitches!

  • How to output full image path to logger/console

    Hi All
    I'm just starting to get my hands dirty with the lr sdk and could do with a little guidance.
    For part of a plugin I need to retrieve the full path to each image, and although I can achieve what I want I'm struggling to print the path to the console/logger and can't understand why.
    Here's a snippit of code to illustrate things:
    for photo in exportSession:photosToExport() do
         filename = photo:getFormattedMetadata( "fileName" )
         outputToLog( filename )  -- Works as expected
         folderName = photo:getFormattedMetadata( "folderName" )
         outputToLog( folderName )  -- Works as expected
         local path = LrPathUtils.standardizePath(photo:getRawMetadata("path"))
         outputToLog( path ) -- Output is always blank
         -- and yet when passed to exiftool the path is correct and works as expected
         LrTasks.execute("exiftool  -Copyright=\"Imaginary person\" \""..path.."\"")
    end
    Basically I can get the path and use it as part of an exiftool command, but can't work out how to output the path to the log/console for debugging purposes. Am I missing something simple or is this an intentional limitation?
    Any help much appreciated.

    I don't know what the problem is. What device are you outputting to?
    i.e. did you try logger:enable( "logfile" ) -- that works for me in OSX to log to a file.
    Here is the code I use:
    self.logger = LrLogger( logName )
    local function logToFile( msg )
        local f = io.open ( self.logFilePath, "a" )
        if f == nil then
            Debug.pause( "can't open log file", self.logFilePath )
            return
        end
        f:write ( LrDate.timeToUserFormat( LrDate.currentTime(), "%Y-%m-%d %H:%M:%S"), " ", msg, '\n' )
        f:close ()
    end
    if self.verbose then
        --self.logger:enable( 'logfile' ) -- enable everything to log file.
        self.logger:enable( logToFile )
    else
        local actions = {
            -- debug output is suppressed when not logging verbosely
            trace = logToFile,
            info = logToFile,
            warn = logToFile,
            error = logToFile,
            fatal = logToFile,
        self.logger:enable( actions ) -- suppress trace & debug.
    end
    R

  • How to output data when converting labview vi into matlab mex functions

    Hi,
    I am a fairly new user to labview and am currently working on labview
    7.1. I have created a labview vi which can extract data from ni daq
    6070e in real time. The problem is that this code has to be converted
    so that it can be used with matlab.in order to do that i am using math
    interactive tool kit which converts the labview code into mex files
    which can then be used in matlab. Unfortunately i have not been able to
    figure out how to output this data so that it can be processed in
    matlab easily. i cannot afford any loss of information and all the
    output must happen in real time. the o/p must take place after the fft
    has been done. i am attaching the vi for convenience.There are 10
    broken wires ,and this is the place where i want the o/p to be
    generated.
    Also do let me know if this vi can be further improved.
    Regards
    Attachments:
    RT_loop2ver4_working.zip ‏642 KB

    Manuj,
    You seem to have misunderstood the way in which LabVIEW processes data.  The code that you have produced will run in exactly the same way without the need for the case structure.
    The code does not actually run the data from the previous case. It is merely processing data from the previous loop iteration, regardless of the case. If you were to remove the case structure, leaving only one copy of the code intact, and remove the toggle switch you have produced, or used the shift register which, I assure you would have worked, then you will have exactly the same functionality.
    I have attached an example that uses the shift register to toggle cases, but also iterates that the case structure is not needed by using the same feedback node (and code) without a toggle switch or case structure.
    Hope this helps you optimize your code
    Regards
    AdamB
    Applications Engineer
    National Instruments UK
    Applications Engineering Team Leader | National Instruments | UK & Ireland
    Attachments:
    CASE_NO-CASE_Example.vi ‏24 KB

  • How to output FTP file with Code Page 8400?

    Hi gurus,
           As we know we can use  GUI_DOWNLOAD to download fiel with specific Code Page,
      CALL METHOD cl_gui_frontend_services=>gui_download
        EXPORTING
         filename          = 'E:\TEXT.TXT'
    *      confirm_overwrite = 'X'
          codepage          = '8400' "Chinese
        CHANGING
          data_tab          = i_file
        EXCEPTIONS
         file_write_error  = 1
          OTHERS            = 24.
      IF sy-subrc EQ 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    But my question is how to output file into FTP server with specific code page 8400?
      call function 'FTP_R3_TO_SERVER'
        exporting
          handle         = p_handle
          fname          = p_filename
          character_mode = 'X'
        tables
          text           = i_file
        exceptions
          tcpip_error    = 1
          command_error  = 2
          data_error     = 3
          others         = 4.

    Thanks but it is not my anwser
    I want to output file to FTP Server with specific code page like
    GUI_DOWNLOAD

  • How to Output Rich Text Format.

    Hi everyone, i use a rich text editor called tiny mce in my web application. After i click the submit button the value inside the text area would be saved in my database including the HTML tags e.g. <i>Sample Report edited via Tiny MCE Rich Text Editor<i>. I need to output the text in a webuijsf static text component but the moment i see the output the tags are still there and the text is not in italics format. Does anyone know how to output it in static text with the design in it?

    It is not updated for more than 1 years and it is dropped by Sun and users were recommended to migrate to ICEfaces.
    [http://woodstock.dev.java.net]
    The Woodstock release 4.2 is the last official version of Woodstock that Sun will release. Sun will continue to support its customers that have built on top of Woodstock 4.2. The Project Woodstock code is still available, and community members can still create new features or enhancements. For future development or migration of existing Woodstock projects, Sun is officially endorsing ICEfaces as the replacement technology for Woodstock. Also see [http://www.nabble.com/Woodstock-Migration-Path-to-ICEfaces-td21057513.html], although I would recommend RichFaces above that. It is only that it doesn't have a drag'n'drop palette for Netbeans, so it is not reachable for blind visual developers.

  • How to Output Rtf

    I need to create an app that reads text from text files and outputs the text to an rtf file, which will later be read into a Word document.
    Although my app will not contain any kind of UI, I've discovered that the javax.swing.text and javax.swing.text.rtf packages might let me accomplish my goals. I also found following snippet, which illustrates how to output some RTF:
    private void writeFile()
         FileOutputStream stream;
         try
              stream = new FileOutputStream("test.rtf");
              RTFEditorKit kit = new RTFEditorKit();
              Document doc = kit.createDefaultDocument();
              SimpleAttributeSet bold = new SimpleAttributeSet();
              StyleConstants.setBold(bold, true);
              doc.insertString(0, "TITLE", bold);
              doc.insertString(doc.getLength(), "\n\r" , null);
              doc.insertString(doc.getLength(), "Bla bla bla", null);
              doc.insertString(doc.getLength(), "bla bla bla", null);
              kit.write(stream, doc, 0, doc.getLength());
         catch (FileNotFoundException e)
              e.printStackTrace();
         catch (IOException e)
              e.printStackTrace();
         catch (BadLocationException e)
              e.printStackTrace();
    }What I need to do now is figure how to create the RTF for a table. Does anyone know how to do this?
    Thanks much...

    Hi pdevaal,
    Thanks for reply, For first question I test it and it works but it is possible to add MIMETYPE on server other wise I have to modify every Run report procedure for this to work.
    For second question I just view the slide show by Oracle to create template for spreadsheet output.
    Regards, Khawar

  • How to output new /new other than new/

    I use dom to parse a document to xml String.if a xml node doesn't have node value ,it will output <new/> but not <new></new>.we use this format (<new></new>) to transfer with remote mechine,so how to output this format.
    following is my sample code:
              DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
              DocumentBuilder builder = factory.newDocumentBuilder();
              Document document = builder.newDocument();
              Element root = document.createElement("root"); 
              document.appendChild(root); 
              Element child = document.createElement("new");
              root.appendChild(child);
              Transformer transformer = TransformerFactory.newInstance().newTransformer();
              Properties properties = transformer.getOutputProperties();
              properties.setProperty(OutputKeys.ENCODING, "utf-8");
              properties.setProperty(OutputKeys.METHOD, "xml");
              properties.setProperty(OutputKeys.VERSION, "1.0");
              properties.setProperty(OutputKeys.INDENT, "yes");
              properties.setProperty("{http://xml.apache.org/xslt}indent-amount", "4");
              transformer.setOutputProperties(properties);
              StringWriter sw = new StringWriter();
              transformer.transform(new DOMSource(document), new StreamResult(sw));
              System.out.println(sw.toString());I think that maybe to set some property to the transformer outputproperties.
    but I don't know what property will done.
    any suggestion is appreciated

    Thanks for your respons.My manager has accentuated this format before .maybe I will ask why.
    However I don't think it will done after adding child.appendChild(document.createTextNode(""));
    it still output <new/>.
    I have writed a function to format this xml String like this:
          * format <new/> String to <new></new>
          * @param xmlString
          * @return String
         public static String formatXml(String xmlString){
              int idx = xmlString.indexOf("/>");
              while(idx != -1){
                   String temp = xmlString.substring(0,idx);
                   int idx1 = temp.lastIndexOf("<");
                   String key = temp.substring(idx1+1,idx);
                   xmlString = xmlString.replaceAll("<" + key + "/>", "<" + key + "></" + key + ">");
                   idx = xmlString.indexOf("/>");
              return xmlString;
         }but i still won't to use it less than the end.

  • How to output the digital clock and synchronization signal from the NI USB-6211

    Hello,
    I need to connect the NI USB-6211 to control a digital to analog convertor chip (AD5541). However, this chip requires three input signals :1) Clock input, 2) Logic input or a synchronization signal  and 3) Signal Serial Data input (CS, SCLK, DIN).
    how to output the digital clock and the synchronization signal from the NI USB-6211?

    Hi SaberSaber,
    You should be able to use the counters to generate a pulse train that could be used for clock and synch purposes.  
    Hope this helps.  Let us know if you have more questions.  
    Dave C.
    Applications Engineer
    National Instruments

  • How to output to an excel file?

    Hi,
    I have written a program that gets data from the database and I like to find out how to output the data to an excel file. I have read about similar topic on the discussion board and the solution are for the online application. Mine is a desktop application. The user can specify what the destination file is. Can anyone help. Thanks.

    The simpliest way is to take your data and write it to a Comma Dilimeted File which Excel can read without any problems or user intervention. You would use an ObjectOutputStream. Hope this helps.

  • How to output data to a file in SCC-SG04?

    I am using SCC-2345 with SCC-SG04 connected to NI-6221 in Windows 2000 in VC6.
    How to output data to a file like data1.dat in VC6 or in Labwindows/CVI?

    Hello mwibm,
    If you just want to do file input/output in LabWindows/CVI, I would take a look at the Formatting and I/O CVI library or the ANSI File I/O functions. For example, if you just want to write an array of data to a file, I would look at the ArrayToFile function or the fwrite/fputs/fprintf ANSI C functions included in stdio.h. The ANSI C functions will also work in Visual Studio. More information on the LabWindows/CVI File I/O functions can be found in CVI help, and more information on ANSI C functions can be found in CVI Help and online at various websites.
    Maybe you could further clarify what problems you are having and what kind of data you want to write to a file.
    Thanks.
    Wendy L
    LabWindows/CVI Developer Newsletter - ni.com/cvinews

  • How to output java logging only to a log file except stderr?

    I create a file logging and noticed that java logging output a log file and stderr simultanously. How to output the logging message only to the log file?
    Thanks.

    HarishDv wrote:
    I dont have indesign  installed on my system. I only have the binary , which needs modification and i have to save back to the DB as indd.
    Can't be done, for a realistic assessment of "can". InDesigns documents cannot reliably be created or modified without InDesign itself. (*)
    If you need to do this on native InDesign documents, you have to buy and install it.
    * "Not true, there is always IDML". But that's not a 'binary'; and you cannot (**) "convert" a binary INDD to IDML and back again without InDesign.
    ** Again, for a remotely realistic value of "can".

Maybe you are looking for

  • [Solved]Dell XPS13 ultrabook Xorg and Wifi issues after Kernel upgrade

    I installed Arch on a Dell XPS 13 Ultrabook today, and most everything ran fine after I ran the initial upgrade -- but I held back on the kernel update from 3.1.3 to 3.3.7. I just now updated the kernel, and now I can't start X, nor can I access the

  • Video and audio transmission from MacBook to TV

    Since I really get mixed up with various posts about connecting MacBooks to a TV set I would love to get simple answers to the following questions: How can I connect my MacBook to a TV so that I have video and audio rendering? My MacBook has a mini-D

  • Defining a port /RFC Destination on XI for IDOC to File scenario

    When defining a port on XI, what is the client number I am supposed to use to receive the IDOC from R3 to XI. I am assuming that I am supposed to use R3 client number to define the port in XI. Is this correct ? Please explain this !!! Also I am assum

  • Check user input

    Have this small script (my first attempt in Scripting), which is loaded with Acrobat 9 at startup. app.addMenuItem({ cName: "Gem &KMS-skrivelse", cParent: "File", cExec: "SaveAs('registreringsmeddelelse', 'produkter/')", nPos: 3 }); app.addMenuItem({

  • AE 12.1: 7128 GPUmanager 2 Sniffer result code:3 12.2: error in wmsdkacodec.vca

    Hello, everybody! a user from the french forums has those issues: after the AE 12.1 update, he had a : <7128><GPUmanager><2>Sniffer result code:3 error, he tried to roll back his nVidia Gefore 9800 GT  driver to 331.65 5I guess then he is on a PC. He