DISPLAYING A CHARACTER IN A FORMAT ......

Hi ..
I would like to draw attention from oracle professionals and oracle support members...
i have a select statement .. which displays .. an amount invoice in 9999.99 format ...
we are using a multilingual software .. and the other langauge is .. arabic ..
my problem is to display an arabic character in place of "." ... i m trying to use translate function to achieve my objective ...
so i say ..
select translate(to_char(inv_amount,'999.99'),'.','Q')
from invoice_header
I expect result as 1250.88 in arabic ...and arabic character in place of "."
but what happening is ....
Its diplaying me 88.1250 in arabic which is exteremely wrong ....can anybody .. help me to sort this problem ..
Note: In arabic number are read left to right ... unlike the characters ..
Nadeem Syed
null

I don't know much about multi-language support. Anyways, the following function can solve your problem if you need a quick solution. The output of the function may be formatted to translate '.' into whatever special character you want to use in Arabic.
CREATE OR REPLACE FUNCTION RevStr(ActualString IN VARCHAR2)
RETURN CHAR IS
BEGIN
RETURN(SUBSTR(ActualString, INSTR(ActualString, '.')+1)| |'.'| |SUBSTR(ActualString, 1, INSTR(ActualString, '.')-1));
END;
null

Similar Messages

  • Chinese Character in PDF format for Oracle Reports 11g

    Hello Everyone,
    Currently we have a Report that need to be display chinese character in PDF format.
    We followed the steps specified in the "Oralce Fusion Middleware Publishing Reports to the Web with Oracle Reports Services"
    documentation but things doesn't work. We also installed Adobe Acrobat Reader 9 and Asian Font Pack 9 on the server side
    and even on the client/user/development side and followed the steps in the documentation, but no effect at all. Or we even
    tried "Arial Unicode MS", same thing no effect.
    For sure, we may miss something during PDF aliasing or PDF subsetting setup.
    Anyone out there who has the same experience and able to resolve the issue that currently using the Oralce Fusion Middleware Reports 11g?
    Doesn't matter if it does not related to chinese character, as long as it relates to this issue like japanese or arabic characters in PDF.
    If its ok, kindly provide the steps how you do it.
    Your help is highly appreciated.
    Regards and Thank you very much!

    I am now facing exactly the same problem as user449955 (Eric's). Dear Eric, how about your situation? If you have resolved this problem, may I ask for your solution?
    In my case, using either font aliasing or font subsetting doesn't work at all (displaying "garbage" characters instead of Chinese characters). The setting in my uifont.ali is as follows:
    If using font aliasing:
    [PDF]
    .....ZHT16HKSCS = "MSungStd-Light-Acro"
    If using font subsetting (the REPORTS_PATH already includes "C:\Windows\Fonts"):
    [PDF:Subset]
    "Courier New" = "mingliu.ttc,2"
    For both cases, the report server's NLS_LANG already set to "TRADITIONAL CHINESE_HONG KONG.ZHT16HKSCS" (I am in fact located at Hong Kong). For font aliasing, the client side already has Asian Adobe Reader with Asian font pack installed.
    By the way, I noticed that the WebLogic EM is configuring/updating the uifont.ali file at "<instance home>\config\FRComponent\frcommon\tools\common" directory, but the Oracle Reports 11g's documentation sometimes advise to refer to another uifont.ali file located at "<instance home>\config\FRComponent\frcommon\guicommon\tk\admin" directory. Which one of the uifont.ali files is the one used by the Oracle Reporting Service?
    My report server's platform is Windows 7 Enterprise (64-bit) and the Reports version is 11.1.1.3.
    Anyone can help to advise?
    Thank you very much.
    Regards

  • How to make SAPScript to display special character?

    Hi all, 
            How to make SAPScript to display special character like character in 'Wingdings 2' font type? Now, I cant make SAPScript to display those special characters in the font type.
    Best Regards,
    Chee Boon

    Hi,
    Insert your font with SE73.
    Then set in sapscript with paragraph or character format so that yoyur charracter is printed with the font you wanted.
    Gr., Frank

  • Display of report in excel format.

    Hi,
      How to display a report in excel format?? I have the display details in an internal table.
        Is it possible for the output to come in excel format as soon as we  run the pgm other.than downloading from list or grid format..If so how to do it??Kindly help..
    Thanks..

    Hi,
    Once you have all the data in the internal table, just use function module 'Download' or 'WS_Download' and pass the parameters in function module like the below for example.
    if not i_list[] is initial.                          " i_list is an internal table  
    call function 'WS_DOWNLOAD'                          
          exporting                                       
               filename            = filename1            
               filetype            = 'DAT'                
          tables                                          
               data_tab            = i_list               
               fieldnames          = i_header     "i _header has the field names
          exceptions                                      
               file_open_error     = 1                    
               file_write_error    = 2                    
               invalid_filesize    = 3                    
               invalid_table_width = 4                    
               invalid_type        = 5                    
               no_batch            = 6                    
               unknown_error       = 7                    
               others              = 8.                   
    endif.
    Now, the excel will be created which has all the data.
    Hope this helps.
    Thanks,
    Srinivasa

  • How can i display page number in this format in xml publisher report (1-1)

    in this format
    1-1
    1-2
    1-3
    2-1
    2-2
    2-3
    can i display page nos in this format in xml publisher please help me on this

    Hi,
    Use the SET COUNTRY..
    SET COUNTRY 'US'.
    write: / sy-datum.
    SET COUNTRY 'IN'.
    write: / sy-datum.
    Thanks,
    Naren

  • How do I change the new iTunes play list total time display from 1.5 hours format to exact display of 1hr 31min 12sec.

    In the new iTunes the play list total time displays in 1.5 hours format, how do I get it to clearly show 1hr 31min 12sec like before, I want the exact time so I can properly fit all the songs when I want to burn this playlist to a disc. You can no longer just click on it to change the display format. Nor can you right click, control click, or change it in options. If anyone knows I would very much appreciate your imput. Thank You.

    Actually, that's the problem ... in iTunes *11* it has stopped working.  I have the status bar displayed, and it is stuck on the 1.x hours format.
    That is very, very strange !!
    I can't get that to happen on mine. It worked in 11.0 and I updated today to 11.0.1 and it's OK.
    I've tried making a new playlist, I've tried changing an old playlist, smart playlist ...... all OK ????

  • How do you get a TextField.htmlText to display a character?

    I'm trying to have a dynamic text field display htmlText and
    I've run into a bug/problem where the text field will NOT display
    the < character (less than sign). In fact, unless I escape that
    character like: \<, the text field stops displaying ANYTHING
    after a < as well.
    var tff:TextFormat = new TextFormat();
    tff.size = 12;
    tff.color = 0x000000;
    tff.align = "left";
    mytextField.ptf.type = "dynamic";
    mytextField.ptf.multiline = true;
    mytextField.ptf.html = true;
    mytextField.ptf.embedFonts = false;
    mytextField.ptf.selectable = false;
    mytextField.ptf.autoSize = "left";
    mytextField.ptf.htmlText = myHTMLString;
    mytextField.ptf.setTextFormat(tff);
    mytextField is a clip on the stage that has a dynamic text
    field in it. it's set to Arial and Use Device Fonts.
    the results when
    var myHTMLString:String = "<i>this</i> is a
    <b>sample piece</b> of html text with a \<
    character."
    displays:
    this is a
    sample piece of html text with a \ character.
    and when
    var myHTMLString:String = "<i>this</i> is a
    <b>sample piece</b> of html text with a <
    character."
    displays:
    this is a
    sample piece of html text with a
    I presume that it's having problems displaying the <
    character because it's confusing it with the start of an html tag.
    How do you escape the < character so it can be displayed?
    I tried url and html encoding it (&lt; and %3C) but got
    the same results

    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_15863

  • How to fix iframe issue that displays XML values instead of formatted XML in IE11

    The following sub.jsp file shows the formatted XML properly as expected when is opened directly:
    <% response.setContentType("text/xml"); %>
    <book>
    <chapter1>chapter 1</chapter1>
    <chapter2>chapter 2</chapter2>
    </book>
    IE11 shows the result as below which are colored and can be collapsed or un-collapsed:
    <book><chapter1>chapter 1</chapter1><chapter2>chapter 2</chapter2></book>
    But if the sub.jsp is opened in an iframe from the below main.html, it only shows the values of the XML in the iframe:
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="ISO-8859-1">
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
    <iframe src="sub.jsp"></iframe>
    </body>
    </html>
    The iframe shows only the XML values, i.e., chapter 1 chapter 2 in IE11. This issue does not happen in IE8.
    I appreciate to your if you know how to address this issue.
    Regards, Amir

    The following sub.jsp file shows the formatted XML properly as expected when is opened directly:
    <% response.setContentType("text/xml"); %>
    <book>
    <chapter1>chapter 1</chapter1>
    <chapter2>chapter 2</chapter2>
    </book>
    IE11 shows the result as below which are colored and can be collapsed or un-collapsed:
    <book><chapter1>chapter 1</chapter1><chapter2>chapter 2</chapter2></book>
    But if the sub.jsp is opened in an iframe from the below main.html, it only shows the values of the XML in the iframe:
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="ISO-8859-1">
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
    <iframe src="sub.jsp"></iframe>
    </body>
    </html>
    The iframe shows only the XML values, i.e., chapter 1 chapter 2 in IE11. This issue does not happen in IE8.
    I appreciate to your if you know how to address this issue.
    This issue is also posted at below link:
    https://social.msdn.microsoft.com/Forums/en-US/5b0692b4-d312-4797-9089-42c1029ac059/how-to-fix-iframe-issue-that-displays-xml-values-instead-of-formatted-xml-in-ie11?forum=iewebdevelopment
    Regards, Amir

  • Cannot display Thai. character in List box elements

    Hi all,
    I have set the Fonts to Ms San Serif to all items in a form, all items seems can display Thai. character correctly. For List box, it can display Thai also, but the elements in the selections cannot.
    Does any expert know how to fix this ?
    Thanks!

    Hi Kinghow,
    Thanks for your reply!
    The problem still can't solve after set the auto csv code select "Yes". The excel file still can't display Thai character.
    Am i using a correct way to generate excel file? Do you have any suggestion to export data to excel using pl/sql?
    If i removed below part, then the excel file working well.
    htp.tableOpen(cattributes=>'border="1",bordercolor="BLACK",align="CENTER"');
    for x in (select srd_line_prop,srd_line_dtl from schd_rptd where srd_queue_no=:P401031_QUEUE_NO and srd_line_prop='H' order by srd_queue_no,srd_line_no)
    loop
    htp.tablerowopen(cattributes => 'bgcolor="#81F7F3"');
    for i in 1..pkg_wwe.split_count(x.srd_line_dtl,'|') loop
    if i = 1 then
    htp.p('<TD nowrap align="center" width="70px" > <font size="2" face="arial" color="#088A08">');
    htp.p(pkg_wwe.split(x.srd_line_dtl,'|',i));htp.p(' ');htp.p(' ');
    htp.p('</TD>');
    else
    htp.p('<TD nowrap align="center" width="70px" > <font size="2" face="arial" color="#08088A">');
    htp.p(pkg_wwe.split(x.srd_line_dtl,'|',i));htp.p(' ');htp.p(' ');
    htp.p('</TD>');
    end if;
    end loop;
    htp.tableRowClose;
    end loop;
    htp.tableClose;
    I really do not have any idea on how to solve this problem. Is really strange on this problem.

  • Displaying HTML character entities in JEditorPane

    Hi,
    I have noticed that when displaying HTML character entity references in a JEditorPane it will show some of them, e.g. &copy; for copyright symbol but not others e.g. &rsquo; for "curly" single quote.
    Is there any way to get JEditorPane to show all (most?) of them?

    Create a class that extends ComboBox and override the
    updateDisplayList and measureText functions. Then use that new
    ComboBox in your code:
    <local:HtmlComboBox .. xmlns:local="components.*".>
    <local:itemRenderer>
    <mx:Component>
    <mx:Text htmlText="{data.label}" />
    </mx:Component>
    </local:itemRenderer>
    </local:HtmlComboBox>
    Put this into a folder called "components" and name the file
    HtmlComboBox.as
    package components
    import mx.controls.ComboBox;
    import flash.text.TextLineMetrics;
    public class HtmlComboBox extends ComboBox
    public function HtmlComboBox()
    super();
    override protected function
    updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
    super.updateDisplayList(unscaledWidth,unscaledHeight);
    var s:String = textInput.text;
    textInput.htmlText = s;
    override public function
    measureText(text:String):TextLineMetrics
    return measureHTMLText(text);
    }

  • Display Chinese character in iText

    hi all I need to display Chinese character in my pdf file
    I have iTextAsian.jar on my libraries , but the Chinese character did not show up
    nested1.addCell(new Phrase(chinessname));

    I download freetype-2.1.10,
    and I get ./configure --enable-static
    ./configure: make: not found
    how to continue ... inorder to create your owner font
    by the way I download the new extrajars-2.1.zip, this new jar supporting Chinese characters . but my first font is not working second font is work fine I don't know why?
    first one
    BaseFont bfChinese = BaseFont.createFont("STSong-Light", "UniGB-UCS2-H", BaseFont.NOT_EMBEDDED); not working
    //second one
    BaseFont bfChinese= BaseFont.createFont("MSungStd-Light", "UniCNS-UCS2-H", BaseFont.NOT_EMBEDDED);
    Thank you!

  • Display chinese character HTML in iPS3sp3

    Hi there,
    I am using iPS3sp3 and I modified it so that JSP can display chinese character correctly. But somehow I still can not display the chinese character in normal HTML.For instance, I put chinese character in Ldap.properties file but when user go to the Ldap login screen, the chinese can not be displayed correctly. The following is the modification I have done and can anybody please give me some help?
    adding zh_TW in iwtPlatform-availableLocales
    adding zh_TW in iwtPlatform-locale
    adding BIG5 in iwtPlatform-HTMLcharset
    adding ips.locale=en_US,zh_TW,zh_TW.BIG5 in platform.conf file
    Setting, User's Default Locale: zh_TW
    Setting, User's Default HTML charset: BIG5

    Finally, I made it work. The solution is pretty straight forward. All I need to do is to convert these kind of html file to utf8 encoded files and then, it works perfectly. Hope this might be useful for some people.

  • How can i display chinese character in asp?

    ---windows2003
    ---iis6.0
    ---oracle92010
    ---oo4o
    oracle character set is we8mswin1252
    sqlplus display chinese character normally.
    when i export the oracle table into microsoft excel,the excel can display chinese character normally.
    but when i write code in asp.The IE can not display the chinese character?
    who would tell my why?
    Message was edited by:
    user525971

    Hi,
    here's a link to the SQL Developer forum: SQL Developer
    Frank

  • Displaying images in their own format.

    I wrote the following code to store a path of an image into a textbox:
    declare
    filename VARCHAR2(255);
    begin
    filename := GET_FILE_NAME(NULL,NULL,'All Files (*.*)|*.*|');
    :infiles.letterpath := filename;
    end;
    Then,
    I used the following code to read an image(bath) from "letterpath" textbox and display it into an image item:
    Read_image_file(:infiles.letterpath, 'gif', 'infiles.letter_image');
    Now, what i want is to show images in their own format, not to dispaly them into an image item.
    Can someone please tell me how i can display images in their own format.
    For example: lets say i store a path of a word document in a textbox then when i click an open button, i want that document to be displayed in MS Word.
    Thanks in advance.

    Hi,
    you could use an OLE container in Forms and associate this with the externmal viewer that you would like to show the source. This however works for c/s and immediately stops working once moving your app to the Web. There you would need to investigate in a Java Bean solution to do this.
    Frank

  • How do I get Contacts to display yyyy-mm-dd date format?

    How do I get Contacts to display yyyy-mm-dd date format?

    This works in Microsoft Outlook, but not sure if it works in Apple Contacts.
    In System Preferences > Date & Time select Open Language & Region.
    Click on Advanced
    Under the Dates tab you can customize settings.
    You might need to restart your Mac after making the settings.

Maybe you are looking for