How to retrive Original Character in Unicode Format from UTF8

Our Database is enabled UTF8 format.User entered some data through UI(html forms),which is stored as â?? (whose ascii values are 50082,49792,49817 respectively,as the data is displaying in different way here ,I am giving here with the ascii values)in to the Database.When we retrive the data into UI or into a text file(.txt) it is displaying/storing as ’(Ascii value is 15712189).How to check for is that character correct or not.

Ashok,
What is your NLS_LANG setting on the client machine where FORMS is running?
To see if the value is stored properly in the database you can use the DUMP command. You can find this in the SQL Reference. But here is a desription:
he syntax of the function call is:
DUMP( <value> [, <format> [, <offset> [, <length> ] ] ] )
where:
value - is the value to be displayed
format - is a number which describes the format in which bytes of the value are to be displayed: 8 - means octal, 10 - means decimal, 16 - means hexadecimal; other values between 0 and 16 mean decimal; values greater then 16 are a little confusing and mean: print bytes as ASCII characters if they correspond to printable ASCII codes, print them as "^x" if they correspond to ASCII control codes and print them in hexadecimal otherwise; adding 1000 to the format number will add character set information for the character data type values to the return value offset - is the offset of the first byte of the value to display; negative values mean counting from the end length - is the number of bytes to display. So for example,
SQL> SELECT DUMP(col,1016)FROM table ;
Typ=1 Len=39 CharacterSet=UTF8: 227,131,143,227,131,170
returns the value of a column consisting of 3 Japanese characters in UTF8 encoding . For example the 1st char is 227(*255)+131. You will probably need to convert this to UCS2 to verify the codepoint value with the Unicode Standard version 3.0.

Similar Messages

  • How to retrive  time in AM/PM format from database?

    I am using java & Sql Server.My Project needs to submit a Form which contains various text fields along with From Time & To Time.These two text fields take AM/PM from a drop-down where AM/PM is hard coded. In my DataBase there are two columns FROM_TIME & TO_TIME whose datatypes are "datetime".
    Now I want to show the details I have entered along with the time in AM/PM format i.e, if I entered "From> 9:00 AM" & "To> 6:00 PM" ,it should show the same.Please help me.

    Use the class SimpleDateFormat to format the dates into AM/PM.
    Kaj

  • How to show original table in table format from Power Pivot?

    Hi 
    I am using Excel 2013 Power Pivot to import data from LOB SQL database. I have Sales table as follow.
    The table is loaded into Power Pivot data model to produce various reports and charts. One of the report is to show the table as it is with selected columns. The business also want using Slicers to view a sub set of the rows in the table.
    Is there anyway in Excel to show the tables with selected columns from the Power Pivot date model table without Power View? 
    Regards
    Joe Lee
    jl

    the simplest thing would be to use a pivot table and set its layout to Tabular Form
    1) select your Pivot Table
    2) go to Design --> Report Layout --> Show in Tabular Form
    4) set Design --> Report Layout --> Repeat All Item Labels to true
    3) add the necessary fields to the Rows-section of your pivot table
    4) remove all subtotals
    5) connect the existing slicers to your Pivot Table
    hth,
    gerhard
    Gerhard Brueckl
    blogging @ http://blog.gbrueckl.at
    working @ http://www.pmOne.com

  • ICS 2.x: How do I change the hour display format from AM/PM to 24 hour mode in the JavaScript?

    How do I change the hour display format from the AM/PM mode to the 24 hour mode
    in the JavaScript?
    <P>
    To change the hour display format,<BR>
    <P>
    <OL>
    <LI>Open the <I>loadpoint</I>/CalendarServer/cal/uicust/en/main.html
    file.
    <P>
    <LI>Go to the "Misc." section.
    <P>
    <LI>Edit the following line:<BR>
    <P>
    i18n['def clock'] = '24';
    </OL>

    laugh
    how analog. 
    neat idea, but i need to see that part of the screen after login on a fairly regular basis, otherwise i might seriously do this.

  • How do I download videos in different formats from an external hard drive?

    How do I download videos in MPEG and other formats from an external hard drive to  a MacBook?

    If the external hard drive is the source, then "download" is a confusing term. To "download", refers to the action of transfering by internet protocol from the internet to a device.
    To "copy" those files, it is simply a matter of plugging in the external hard drive via the USB cable provided with that drive to a corresponding port on your Air. The drive should automatically mount, and either be visible by an icon on your desktop, or in a Finder window.
    You simply click on the icon, or do similarly within a finder widow to examine the contents of the drive. You would open an additional Finder window and naviagte to your desired flder destination.
    Then, simply "drag and drop" the files you wish to copy from the source (the external hard drive), to the destination fold on your Air.

  • How to send a mail in html format from a send mail workflow node ?

    Dear all,
    Do you know if it is possible to send an e-mail in HTML format (instead of RAW) from a "send mail" node in a workflow ?  ... if "yes", please, let me know.
    (I need to do that because I want to use the "href" tag to insert an hyperlink inside the e-mail)
    - I haven't found any parameter to specify the format of the e-mail.
    - Inside SCOT I tried to change the parameters for the SMTP node... without success.
    - I don't want to use a task calling the FM SO_OBJECT_SEND.
    Nicolas

    Hi Nicolas!
    Have you tried to set "Output Format" for "RAW Text" to HTM in SCOT.
    If HTM is missing in your dropdown-list, you could check out table SXCONVERT2. Copy the line with category T/format TXT, and change the format from TXT to HTM. The existing function
    SX_OBJECT_CONVERT__T.TXT does not need to be changed. Now you should be able to choose HTM in SCOT. You will probably need som HTML-tags in your text to make it look good.
    Hope this helps!
    Regards
    Geir

  • How can I create files in unicode format without "byte order mark"?

    Hello together,
    I have to export files in UTF-8 format and have to send them to another partner system which works with linux as operating system.
    I have tried the different possibities to create files with ABAP. But nothing works 100% how I want.
    Some examples:
    1.)
    OPEN DATASET [filename] FOR OUTPUT IN TEXT MODE ENCODING UTF-8.
    If I create a file in this way and download it from application server to local system the result for file format in a unicode text edior like NotePad is "ANSI AS UTF-8". This means I have no BYTE ORDER MARK inside.
    But it is also possible that the file format is only ANSI if the file contains no "special characters", isn't it?
    In my test cases I create 3 files. 2 of them has format "ANSI AS UTF-8", and one only "ANSII".
    After transfer to Linux I get as result 2 times UTF8 and one time ASCII as file format.
    2.)
    OPEN DATASET [filename] FOR OUTPUT IN TEXT MODE ENCODING UTF-8 WITH BYTE ORDER MARK.
    With this syntax the result in local editor looks like ok. I get as format really "UTF-8".
    But I get problems with the system which receives the files.
    All files has the file format UTF-8 on Linux but the interface / script can not read the file with BYTE ORDER MARK.
    This is a very big problem for me.
    Do anybody of you know if it possible to force creation in UTF-8 without a BYTE ORDER MARK?
    This means more or less the first example but all files should have UTF-8 format!
    Thanks in advance
    Christian

    This means it is not possible to create a pure unicode file without the byte order mark?
    You wouldn't happen to know how a file with byte order mark should read on a Linux system?
    Or if this possible or not?
    Regards
    Christian

  • How to retrive original version of the Web Query in BW ?

    Hello Friends ,
    I have transported one Web report from BW development to BW Production System.
    But unfortunately , the desired result not me met .
    So I have been asked to keep the original version of the Web report.
    As the new version of Web report has replaced the previous one ,
    So could anybody tell me how to get the original version of Web report in BW ?
    Many thanks in advance !!!!!!!!

    Hi,
    Hi,
    You can use the Transaction STMS choose the option "Import Overview" . In the GOTO tab select "History" and choose "Import History".
    Here you can find the history of requests imported to the prod system.
    Regards,
    K.Manikandan.

  • How do I use m2ts movie file format from my old pc with FCP on my mac?

    I have recently moved from a PC to a iMac. I have a large number of Sony AVCHD movie files, which were imported to my PC and are in the m2ts file format on my PC. The original files on my Sony camera were deleted so these files are now all I have. Also, for each movie clip on my PC there are 3 files....a very large m2ts file along..... with two very small file....one is a .modd file and the other a .moff file.
    I now want to use these m2ts files (and if needed possibly these other two smaller files) on my Mac make movies with either iMovie or Final Cut Pro. and don't know how to import them or convert them for use on my Mac. Can anyone help?
    One final question. Can FCP author DVD's or is separate software required. Apple has discontinued iDVD for iMovie (which I find rediculous) and so I'm worried they don't support making DVD's with FCP.
    Thanks

    Although I don't use Toast I know lots of people who do and like it for a variety of purposes; for example, many people author in DVDSP and burn disks using Toast. But there are a lot of versions and they have differing features and capability. Do a search in these (or iDVD) forums you'll find plenty of info. Don't know about the other app. Again, if you ask Apple, they may come through with iDVD…they have for others.
    Clipwrap quality limitations? Try the trial and test the results for yourself. As far as I know the trial is fully freatured but there is a one minute clip limitation (which doesn't apply to the paid version).
    Good luck.
    Russ

  • How to set the date and time format from Windows Server 2008 R2

    Hi,
    I want to control my client's date and time format as dd/mm/yyyy format and I need to do it using the windows server 2008 R2. How can I achieve this goal?
    Yoshika04

    Hi,
    In Windows Server 2008 R2, you can use Regional Options Extension in Group Policy Preferences to configure the date and
    time format. For more information, please refer to:
    Regional Options Extension
    http://technet.microsoft.com/en-us/library/cc754496.aspx
    Regards,
    Bruce

  • How can I permanently change the date format from the American format to the UK's without having to constantly change it manually every time I start a new spreadsheet?

    This is my first mac so I'm still getting my bearings with it. I've only used Windows programmes before. I can't understand why it's so hard to change the date format of the cells in Numbers to keep it showing the UK format. The system preferences of the mac show that it's in the correct region and has the correct date but this doesn't seem to transfer into the Numbers program. I was very impressed with the mac until I discovered this. If anyone knows how I can get the date to stay in the correct format without having to go through the process of altering it in the cell inspector everytime then I would be very grateful.

    Numbers & most apps, especially those from Apple, use the date format you have set in System Preferences > Language & Text > Region. You can then choose UK from the Region drop-down list. Mine says Custom because I've defined things further as in the second screenshot.

  • How to send ALV Report in excel format from SAP

    Hi Gurus,
    We are using SAP 4.7 and using different SAP reports.Now I want to send SAP ALV report in excel format directly from SAP in background.Now we send these reports in background weekly by using autimetic scheduling but this is PDF format.Now I want to change this pdf format to excel format.In SCOT T.Code I am able to find any excel format.Please help me out.
    I am waiting for your reply.
    Advance Thanks
    Nirmal

    Hi Nirmal,
    I have done the same in my previous organisation.For this particular solution you need to ask your basis guys to upgrade the support package so that BCS classes could be available in the system.
    API interafces five some problem with attachemnts and SAP has recommended to use BCS classes.
    Currently BCS classes won't be availbale in 4.7.
    Once the BCS classes are available
    use below code
       CONSTANTS:
        lc_tab          TYPE c VALUE cl_bcs_convert=>gc_tab,
        lc_crlf         TYPE c VALUE cl_bcs_convert=>gc_crlf,
       lc_codepage     TYPE abap_encod VALUE '4103',
    data :
       lv_string      TYPE string,
       binary_content TYPE solix_tab,
       size           TYPE so_obj_len,
       *" Set Heading of Excel File
      CONCATENATE 'Employee DATA'
                   lc_crlf lc_crlf
                   INTO lv_string.
       *" Set Header for Excel Fields
      CONCATENATE lv_string
                  lc_header1 lc_tab
                  lc_header2 lc_tab
                  lc_header3 lc_tab
                  lc_header4 lc_tab
                  lc_header5 lc_tab
                  lc_header6 lc_tab
                  lc_header7 lc_tab
                  lc_header8 lc_tab
                  lc_header9 lc_tab
                  lc_header10 lc_crlf
                  INTO lv_string.
    "lc_header1 to 10 could be your field headers
       "Move Internal table data
      LOOP AT gt_final1 INTO gwa_final1.
        CONCATENATE lv_string
                    gwa_final1-field1     lc_tab
                    gwa_final1-field2      lc_tab
                    gwa_final1-field3    lc_crlf
                    INTO lv_string.
      ENDLOOP.
       *" convert the text string into UTF-16LE binary data including
    *" byte-order-mark. Mircosoft Excel prefers these settings
    *" all this is done by new class cl_bcs_convert (see note 1151257)
      TRY.
          cl_bcs_convert=>string_to_solix(
            EXPORTING
              iv_string   = lv_string
              iv_codepage = lc_codepage  "suitable for MS Excel, leave empty
              iv_add_bom  = abap_true     "for other doc types
            IMPORTING
              et_solix  = binary_content
              ev_size   = size ).
        CATCH cx_bcs.
          MESSAGE e445(so).
      ENDTRY.
      TRY.
    *" create persistent send request
          send_request = cl_bcs=>create_persistent( ).
          document = cl_document_bcs=>create_document(
            i_type    = lc_doc
            i_text    = main_text
            i_subject = lc_sub  ).     
          document->add_attachment(
            i_attachment_type    = lc_attach                    "#EC NOTEXT
            i_attachment_subject = lc_sub                       "#EC NOTEXT
            i_attachment_size    = size
            i_att_content_hex    = binary_content ).
       send_request->set_document( document ).
       recipient = cl_cam_address_bcs=>create_internet_address( email ).
       CALL METHOD send_request->add_recipient
              EXPORTING
                i_recipient = recipient.
       IF recipient IS NOT INITIAL.
            sent_to_all = send_request->send( i_with_error_screen = abap_true ).
            COMMIT WORK.
    *        MESSAGE text-014 TYPE gc_succ  .
          ENDIF.
        CATCH cx_bcs INTO bcs_exception.
          MESSAGE i865(so) WITH bcs_exception->error_type.
      ENDTRY.
    For BCS decalartion u can go to se 38 and see program BCS_EXAMPLE_1 to BCS_EXAMPLE_7.
    Rewrads if helpful.
    Cheers
    Ramesh Bhatt

  • How to retrive more than one row value from table

    hi,
      I had create one table if i entered value in more than one row, the second row override the first row value and while printing it in flat file i am getting the second value entered twice.
      i created one context for each column.
        plz provide me a solution..........
           very urgent..........
            Regards,
            Kiruthika

    Hi,
    Create seperate element for each row and then set values.
    for(int i=0;i<4;i++)
    IPrivate<view name>.I<node name>Element element = wdContext.node<node name>().create<node name>Element();
    wdContext.node<node name>().addElement(element);
    element.set<Att>();
    to retrive:
    int s=wdContext.node<node name>.size();
    for(int j=0;j<s;J++){
    wdcontext.node<nodename>.getnodeelementAt(j).getAttribute();
    Check this link about tables
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/bad3e990-0201-0010-3985-fa0936d901b4
    Regards,
    Vijayakhanna Raman

  • How do I get books in .pdf format from my computer to ibooks?

    I have some large study guides on my computer that I'd like to add to ibooks to take with me on my iPad. How can I get them there? I can't seem to convince the sync program to find them.

    Ok, how do I get them to show up in my iTunes library to do that? It shows music, movies, tv shows, podcasts, apps and radio at present. I'm not sure how to get garden variety .pdfs  to show up in my library, to be able to drag them.
    the iPad device does show ibooks, along with the books that I downloaded from the ibooks/app store, but these that I want to add came from an educational website. A friend of mine told me he puts work articles and books into ibooks, and I'd like to do it, I'm just having trouble getting them there.  Thanks for your assistance, by the way.

  • How to send delivery status by idoc format from EWM system?

    Hi gurus,
    You know we can send GR(posted) from EWM to R3 system, while in our scenario, we also need to send inbound delivery status( including posting, posted) from EWM to Non-SAP system via PI.
    Can we implement that by idoc? Do we have to use PPF? How to develop in PPF to send message to PI?
    Thanks in advance.

    Hi kishore,
    Thanks for your reply.
    I tried to find how SPPFCADM send idoc in ther relevant method, but you know it's just some object oriented code which is not easy to understand and I couldn't find where send idoc and where can be enhanced.
    I found that /SCWM/ERP_MAPOUT is the implementation name for the method of inbound delivery to ERP system, also there is an action "XI Message:lieferinfo:inbound delivery", can it be used to send idoc to PI/XI system?
    Thanks.

Maybe you are looking for

  • Premiere Elements 12 Problems  ... still quite buggy?

    Hi all, I used Premiere Elements 11 up to now. Currently testing Version 12 - which appears to be quite buggy to me... Now I just wanted to make sure that it's not me being too dump to find the correct settings... BTW: I'm using a MacBook w/ Retina f

  • Starting with the base state

    Hello All, I know I have done this before, but it's been awhile since I've created a Flex App. I started with the original "gray" box, and placed an image and text within it. Now when I view it in the browser it's all the way over to the left side of

  • Unread count for RSS feeds ridiculously high

    I only have a total of 17620 files in ~/Library/Mail/RSS/ (find . -type f | wc -l). But within Mail some feeds say they have a total of about 4.294.966.000 messages. When I select other feeds the problem seems to be moving to those feeds as well. I b

  • Identify USAGE TYPE that has been installed in the system

    Hi All, I have a newly upgraded BI system. I need to check what are all the USAGE types that has been installed in the system. How to verify the same (without asking the basis person). Is there any system parameter or transaction which would give the

  • Error starting visual administrator

    Hi all, We have implemented SRM5.5 with AS Abap and java. When i run the visual administrator, i am getting the following error. can any one help me out this. 3/26/07 10:53 AM com.sap.engine.tools.launcher.Launcher Error : unable to invoke main class