How get English Charactor unicode value?

I try to get charactor uni code value using following code. That code work for any other code excluding english.
When i put english charactor it does not get unicode value. As a charactor it get charactor, but I insert Other charactor it get unicode value as char value.
String temp = ;
temp = temp.substring(1, temp.length());
int temp_i = Integer.parseInt(temp, 16);
Char c_UCPoints = (char) temp_i;English Input:
temp = "\u002e"
c_UCPoints = "." ---- but i want to get "\u002e"
Tamil Input:
temp = "\u0b89"
c_UCPoints = "\u0b89" ----it show corect result
Any one how to get that unicode value. reply this.

You mean you want to manually convert to and from Unicode escapes? Try this: public class Test
  public static void main(String... args) throws Exception
    String chEsc0 = "\\u002e";
    char ch = (char) Integer.parseInt(chEsc0.substring(2), 16);
    String chEsc1 = String.format("\\u%04x", (int) ch);
    System.out.printf("%s => '%c' => %s %n", chEsc0, ch, chEsc1);
} output: \u002e => '.' => \u002e

Similar Messages

  • How get one column's value in dashboard of obiee?

    I have two reports, MAIN report and DETAIL report. I want to get one column's value as the filter of DETAIL report.
    For example, the MAIN report is
    Class AVG_Age MAX_Age MIN_Age
    Class1 13 15 11
    Class2 14 16 12
    DETAIL report is
    Name Class Old Describe
    Name1 Class1 15 ...
    Name2 Class2 16 ...
    Through the Navigation to implement it, when I click the 15 of MAIN report, it can only show the MAX age student of calss1. So I have to put the MAX_Age as the DETAIL report's filter. How can I get it?
    Thanks
    Edited by: user10496160 on 2008-11-3 下午9:31
    Edited by: user10496160 on 2008-11-3 下午10:53

    If I understand correctly, what you are trying to do is build a report so that a user can determine the oldest student of a particular class and then look at the details of that student, yes? But what if several classes have a student (or students!) with the same "max" age? For example, what if there are students in 2 classes that are aged 15 and are the oldest in their respective class? Wouldn't you want to give the user the option if choosing the various classes in which the oldest student is the "max" age? Then do this:
    On the Main report, put the summary information as you have it (Class, AVG_Age, MAX_Age, MIN_Age). Put the Value Interaction navigation on the MAX_Age column.
    On the Detail report, put Class, Name, Age, Description, etc., and any other columns that show the details of the student(s) that are the oldest. Add the filter on the Age column: "Is prompted." Now, create a Pivot Table view and place the Class column in the Pages area. (If you want you can create a duplicate of the Class column so you can have a copy in the Rows section of the Pivot Table.)
    Now when the user clicks on the MAX_Age in the Main report, it will show the Detail report with the Classes that have students with the same "max" age in a drop down window. The user can select different classes to see the various students that meet that criterion.

  • How get the dynamic parameter values

    <p>Hi everyone. <br /><br />I have made an application to show the Crystal Report . Because the input interface is not very good, so I write an interface by myself. Now this funcation can show all static parameters. But I have some troubles with the dynamic parameters.  How to get the values of the dynamic parameters?</p><p>By the way, if I add a dynamic parameters , it will show the dadabase logon window twice. How to add the logon infomations for dynamic parameters using .net?</p><p>My develop entironment is : Crystal Report XI, RAS XI, Visual Studio 2003 c#.</p>

    See note number 1412611 in the notes database:
    https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true
    Ludek

  • Problem with getting unicode values from console

    Hi,
    In my application I am passing unicode value like \u00DF from console. and writing this string value to a utf8 file. But in the file the value is printed not the actual unicode character.
    Where the things are getting wrong.
    I have declared a string in java like ;
    String abc = "\u00DF";
    and printed this to a utf8 file, it works fine and the corresponding unicode character for \u00DF is printed.
    Why the unicode value passes from console is not working property. How can i resolve this ?
    Thanks in advance...
    <!--Session data-->

    And how are you putting it into the console in the first place?

  • How to display unicode values in file to corresponding characters

    Hello Java-ians !
    Could you please calrify my doubt ! I am able to generate unicode values for arbic, russian characters. I did it by generating a UTF-8 format file and I used native2ascii tool to generate unicode values. No I am unable to dispaly the characters. I read the file using FileReader and used JTextFiled.setText method to redisplay the characters. Instead of displaying the corresponding character, I am getting only unicode values. Why it's happening ?
    Also could you plese tell me how ResourceBundle works ? It reads the unicode values and displays proper charcters, how ?
    Please help me ! I need it desperately !
    Martin Sunder Singh D.S.

    you have to do like this:
    FileInputStream fos = new FileInputStream(new File("japanies.out"));
    BufferedReader bw = new BufferedReader(new InputStreamReader(fos,"UTF8"));
    System.out.println(bw.readLine());
    bw.close();

  • The language in the app store on my iPod touch is no longer English. How do I get English back?

    The language in the app store on my iPod touch is no longer English. How do I get English back?

    Do you have English selected in Settings>General>International>Language?
    What country's App/iTunes store are you using? Di y change it to other than to an English speaking country?
    To change
    How to Change Your App Store Account Location | eHow.com

  • From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?

    From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?

    Hi,
    Use NVL or COALESCE:
    NVL (col_a, col_b)
    Returns col_a if col_a is not NULL; otherwise, it returns col_b.
    Col_a and col_b must have similar (if not identical) datatypes; for example, if col_a is a DATE, then col_b can be another DATE or it can be a TIMESTAMP, but it can't be a VARCHAR2.
    For more about NVL and COALESCE, see the SQL Language manual: http://docs.oracle.com/cd/E11882_01/server.112/e26088/functions119.htm#sthref1310
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • How to get the list of values for a dynamic parameter using Web Services SDK?

    <p>I am struggling to get the list of values for a dynamic parameter of a report.</p><p>I am using Java Web Services SDK ... I tried to use PromptInfo.getLOV().getValues() method but it does not work.</p><p>First of all ... is this possible (to get the list of values for a dynamic param) using Web Services?</p><p>Second of all, if this is possible, how should I do it ... it seems it works fine when running the report from CMC. It asks for DB logon info and after that it provides a list of values.</p><p>Thx </p>

    <p>Your assumption is correct. We are trying to get the LOVs from the Crystal Report. I was not aware that this is not supported by Web Services SDK.</p><p>We used Web Services SDK to integrated the Crystal Reports in our web application. We implemented some basic actions for reports: schedule, view instances, run ad-hoc reports.</p><p>We encountered this problem when trying to run/schedule reports with dynamic parameters (a list of values from DB). We were unable to get the LOVs.</p><p>Please let me know if you can think of an alternative to look at.</p><p>Thanks a lot,</p><p>Catalin </p>

  • How to get the selected node value of a tree which is build on java code

    Hi Experts,
    How can i get the selected node value if I build the tree programatically.
    I am using the following code in selectionListener but it is throwing error.
    RichTreeTable treeTable = (RichTreeTable)getQaReasontreeTable();
    CollectionModel _tableModel =
    (CollectionModel)treeTable.getValue();
    RowKeySet _selectedRowData = treeTable.getSelectedRowKeys();
    Iterator rksIterator = _selectedRowData.iterator();
    String selectedQaCode ="";
    while (rksIterator.hasNext()) {
    List key = (List)rksIterator.next();
    JUCtrlHierBinding treeTableBinding =
    (JUCtrlHierBinding)((CollectionModel)treeTable.getValue()).getWrappedData();
    JUCtrlHierNodeBinding nodeBinding =
    treeTableBinding.findNodeByKeyPath(key);
    String nodeStuctureDefname =
    nodeBinding.getHierTypeBinding().getStructureDefName();
    selectedQaCode = selectedQaCode + nodeBinding.getAttribute(0);
    where I am using following link to create a tree with java code.
    http://one-size-doesnt-fit-all.blogspot.com/2007/05/back-to-programming-programmatic-adf.html
    Please help me in resolving this issue.
    Regards
    Gayaz

    Hi,
    you should also move
    JUCtrlHierBinding treeTableBinding =
    (JUCtrlHierBinding)((CollectionModel)treeTable.getValue()).getWrappedData();
    out of the while loop as this is not necessary to be repeated for each key in the set
    Frank

  • How to get a Tree Node Value when a Tree is Expanded

    My reqiurement is when i Expand a Tree i need the Expanded tree Node Value. For Example Consider Parent as a Root Node of a Tree, and Consider its two Children Child1 and Child2.
    When + Parent Expanded
    I will Get the Output as --Parent
    - Child1
    - Child2
    so As when i expand the Tree i must Get the String Value Parent.

    duplicate
    How to get a Tree Node Value when a Tree is Expanded

  • How to get selected Row/Cell value in i5Grid

    Hi Friends,
    Can anyone help to how to find the selected Row/Cell value of a i5Grid object. I am able to register the event handlers which are getting invoked on row/cell selection. But I want to know how can I get the value of selected Cell/Row. I would like to add selected Items from one i5Grid to another one.
    So want to know how can I get and set the value of i5Grid object.
    MII version 14.0 SP4 Patch
    Thank in advance
    Shaji Chandran

    Hi Shaji,
    Here is my code.
    <!DOCTYPE HTML>
    <HTML>
    <HEAD>
        <TITLE>Your Title Here</TITLE>
        <META http-equiv="X-UA-Compatible" content="IE=edge">
        <META http-equiv='cache-control' content='no-cache'>
        <META http-equiv='expires' content='0'>
        <META http-equiv='pragma' content='no-cache'>
        <SCRIPT type="text/javascript" src="/XMII/JavaScript/bootstrap.js" data-libs="i5Chart,i5Grid,i5SPCChart"></SCRIPT>
        <SCRIPT>
            var Grid = new com.sap.xmii.grid.init.i5Grid("STC/C5167365/i5Grid_TagQuery", "STC/C5167365/TagQuery");
            Grid.setGridWidth("640px");
            Grid.setGridHeight("400px");
            Grid.draw("div1");
        function setCellValue()
        Grid.getGridObject().setCellValue(1,1,"Set");
        function setCellValueAgain()
        Grid.getGridObject().setCellValue(1,1,"Changed Again");
        </SCRIPT>
    </HEAD>
    <BODY>
        <DIV id="div1"></DIV>
        <INPUT type="Button" value="setCellValue" onClick="setCellValue()"/>
        <INPUT type="Button" value="setCellValueAgain" onClick="setCellValueAgain()"/>
    </BODY>
    </HTML>
    Regards,
    Sriram

  • How to get Document Set property values in a SharePoint library in to a CSV file using Powershell

    Hi,
    How to get Document Set property values in a SharePoint library into a CSV file using Powershell?
    Any help would be greatly appreciated.
    Thank you.
    AA.

    Hi,
    According to your description, my understanding is that you want to you want to get document set property value in a SharePoint library and then export into a CSV file using PowerShell.
    I suggest you can get the document sets properties like the PowerShell Command below:
    [system.reflection.assembly]::loadwithpartialname("microsoft.sharepoint")
    $siteurl="http://sp2013sps/sites/test"
    $listname="Documents"
    $mysite=new-object microsoft.sharepoint.spsite($siteurl)
    $myweb=$mysite.openweb()
    $list=$myweb.lists[$listname]
    foreach($item in $list.items)
    if($item.contenttype.name -eq "Document Set")
    if($item.folder.itemcount -eq 0)
    write-host $item.title
    Then you can use Export-Csv PowerShell Command to export to a CSV file.
    More information:
    Powershell for document sets
    How to export data to CSV in PowerShell?
    Using the Export-Csv Cmdlet
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to Convert a HEX value to CHAR value...Unicode Issue...

    Hi,
    How can I convert HEX value to CHAR value.
    The Code in <b>non Unicode</b> system is:
    DATA: t_text LIKE tline OCCURS 0 WITH HEADER LINE.
    constants:   c_hex_20a5(2) TYPE x            VALUE '20A5'.
    t_text-tdline = 'seller of the item so listed.  A legend of the Seller Code(s) is as'.
          TRANSLATE t_text-tdline USING c_hex_20a5.
    The same code give error in <b>Uni-Code</b> system:
    <b>error is "c_hex_20a5 must be an character type object (C, N, D, T or String type)."</b>
    If anyone know, what is the solution, please let me know.
    Thanks!
    Puneet.

    Hi,
    Try declaring the Hex chars using the ABAP char utilities. This is just a sample piece of code on how to declare and use:
    CLASS cl_abap_char_utilities DEFINITION LOAD.
    DATA:  ws_lf TYPE c VALUE cl_abap_char_utilities=>cr_lf.
    data:    c_newline           TYPE x VALUE '0D'.  [ it is zero D, for carriage return ]
    ws_lf = c_newline.
        CONCATENATE it_tab-maktx
                    ws_lf
                    ws_template
                    INTO it_notificatn-template.
    Hope this helps...
    Regards
    Subramanian

  • How to get the current month value for a customer exit variable?

    How to get the current month value for a customer exit variable? 
    And also if we have an InfoObject with date value (including date, month, year), then how to derive the month value from this date type of Char.?
    Thanks!

    Hi Kevin,
    Check here........
    Re: Customer Exist for "From Current Date To Month End"
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/25d98cf6-0d01-0010-0e9b-edcd4597335a
    Cal month
    Regards,
    Vijay.

  • How to get the current selected value of a combo box or a option button?

    Hello All,
    I want to catch the current selected value of a combo box and also of a option button and want save it into different variables in my code. These option button and combo box are in a SAP business one form which I have created through VB dot.net coding.
    But I don't know how to do that, can any one send any example code for this.
    Regards,
    Sudeshna.

    Hi Sudesha,
    If you want to get the selected values you can do it as follows: The Combo Box value you can get from the combo box. If you want to get it on the change event, you must make sure that you check when BeforeAction = False. If you want to get an Option Button value you should check the value in the data source attached to the option button.
            Dim oForm As SAPbouiCOM.Form
            Dim oCombo As SAPbouiCOM.ComboBox
            Dim oData As SAPbouiCOM.UserDataSource
            oForm = oApplication.Forms.Item("MyForm")
            oCombo = oForm.Items.Item("myComboUID")
            oApplication.MessageBox(oCombo.Selected.Value)
            oData = oForm.DataSources.UserDataSources.Item("MyDataSourceName")
            oApplication.MessageBox(oData.ValueEx)
    Hope it helps,
    Adele

Maybe you are looking for

  • Trouble changing account picture

    I'm having some trouble with the "Picture" tab in the "Accounts" system preference. Problem #1: It allows me to make changes whether the lock is open or closed. Problem #2: If I change the picture using the "Edit..." button, whether the lock is open

  • Is it possible to erase a Power Mac G5 without the disk

    Is it possible to erase/clean a Power Mac G5 without the disc? We have the disk, but when ever we try to start up from it, the fan just gets louder and louder, and the circle spins on the desktop and never loads. We are trying to clean the computer o

  • DDR3 RAM compatibility with both Macmini (Mid 2010) and Macbook  Pro (13-inch, Mid 2009)

    Is the DDR3 Memory Module compatible with both Macmini (Mid 2010) and Macbook Pro (13 inch Mid 2009) models If thats the case I can buy 8 GB (4 GB * 2) then have my RAM already in my Macbook Pro to my Macmini Thanks Shas

  • ECL Viewer - Save to local file option grey out

    Hello Experts, We have ECL viewer installed version 5.1.3 with SAP GUI 710 - 7100.2.7.1038. But, option under viewer --> save to local file  is grey out, how to enble this option. Thanks, Sam

  • Chinese Font in Linux

    I am able to display the fonts in windows successfully. Chinese fonts are installed in linux as I am able to view chinese pages in mozilla. But I am not able to display unicode characters on JWindow or JLabel in Linux. What are the chinese charsets t