Arabic and Chinese characters are showing ??? in PDF

Hi
I hava an application which calls BI publisher API to generate PDF file from rtf temlate and xml input. It is fine for English contents. But the Arabic or Chinese characters are showing ??? in PDF. If I use BI publisher Desktop to load the xml and generate pdf file, it shows correct Arabic/Chinese Characters in PDF. I also copied ALBANWTJ.ttf file to my application JAVA_HOME/jre/lib/fonts/ folder. But it still doesn't work. Anyone can help me with this?
Thanks a lot!

I created xdo.cfg and put it in my JAVA_HOME/jre/lib/ folder. the file is configured as below:
<?xml version="1.0" encoding="UTF-8"?>
<config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/">
<properties>
<property name="system-temp-dir">/tmp</property>
</properties>
<fonts>
<font family="Default" style="normal" weight="normal">
<truetype path="/fonts/ALBANWTJ.ttf"/>
</font>
</fonts>
</config>
But now I'm getting this error while generating pdf file:
Adobe Reader could not open 'xxx.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).
Is there anything wrong in my xdo.cfg?
Thanks!

Similar Messages

  • Chinese characters dont show up on the PDF file

    Hi guys,
    Chinese characters dont show up on the PDF file. Its #.
    Please let know how to fix it.
    Thanks!

    Hi,
    I am the facing same problem as you were faced. I am not able to print chinese characters in PDF as it is coming properly in print preview.
    I am sendig this document via email.]
    Pleae help me if any solution with you.
    Thansk and Regards,
    J.P

  • Chinese characters are not displayed in the Firefox bookmarks

    Chinese characters are not displayed in the Firefox bookmarks. The name looks like e.g. "??????? ???? cn.nytimes.com"
    Chinese character of the site name is displayed ok in the head of the browser window and there is no problem reading chinese web content. I use Firefox Portable 11 /English from portableapps.com in Windows XP.
    I googled and got some tips:
    1) Set your browser to recognise Chinese language internet sites.
    Windows users: Under "Tools - Options" on your browser's menu-bar add Chinese to the languages list.
    - I did this.
    2) Set your browser's "Character Set" or "Encoding" to UTF-8 (sometimes also called Universal Alphabet or Unicode).
    Encoding settings can be changed under the "View" option in your browser's menu-bar.
    - It was already set to UTF-8.
    3) Windows users: If Chinese text still does not display correctly, East Asian language support may need to be enabled.
    - This has been done when I installed Windows.
    I still don't get any Chinese fonts in the bookmark names. I can edit the bookmark name with chinese characters and then save the bookmark, it works fine. But why does not Firefox recognize the characters when saving bookmarks? Help is appreciated.

    No I didn't change anything deep beneath the hood. My problem didn't apply to the URL, but to the name of the link or bookmark header or whatever you would like to call it. (When hitting Ctrl + D there is a Name field). I only got ???????? instead of chinese characters in the name. Also for e.g. www.cntv.cn ...but maybe all China is not in the whitelist either. ;-) But anyway, this was not the real problem for me.
    Apparently I was wrong as after a reboot of the computer it worked. The solution seemed to be to add Chinese to the language list. I don't know why it was not enough to restart Firefox?
    Now I only have problems to show chinese characters in the name field of my external link manager... But I guess it is not an issue for Mozilla.

  • Chinese Characters not display when PDF for marketing doc

    Hi All,
    I have typed in some Chinese Characters into a Print Layout Document.
    I am able to print these documents with the Chinese characters. But I am not able to display these Chinese Characters when I click on PDF.
    Please advise.
    Rdgs
    Jessie

    Hi Gordon,
    I have applied the various asian language service pack for the Adobe Reader.
    However, i am still not able to see the Chinese Characters in the PDF document when click on the PDF at SAP B1's Toolbar.
    Step 1 : Update a PLD with Chinese Characters (as text or from database field). Eg. AR Invoice.
    Step 2 : Set the PLD as Default Layout.
    Step 3 : At AR Invoice, call out an existing Invoice, click on Preview. Chinese Character is able to be previewed and printed.
    Convert to PLD.
    Step 4 : At AR Invoice, call out an existing Invoice, click on PDF button at the Toolbar. Preview the PDF document. No Chinese Characters are displayed.
    Is it due to Localisation? Localisation = Singapore
    Please advise.
    Regards
    Jessie

  • Chinese Characters Not Showing On Zen Ne

    Hi, those who are using Zen Neeon or have solutions to my problems, please do help.
    Chinese characters are not showing on my Zen Neeon.
    When I used the Zen Neeon Media Explorer or Creative Mediasource to rip songs from CDs, chinese characters appear perfectly fine. It's also fine when I used Windows Media Player to rip.
    However, once the songs are transferred to the player, chinese characters can't be read when they are playing. They can be read when I view them as 'playlists' on the player, but the Chinese song titles appear as funny characters on the LCD when the songs are playing.
    I have changed my computer's non-unicode to 'Chinese PRC'. So I really don't know what's wrong.
    Please help.
    Thanks!

    It is actually the language of the tag of the song that matters, not the language of the song itself. If the song has Chinese tag, then the language must be set to Chinese. Setting the language to Chinese will not affect songs that has English tag. So, if you have only English tag songs and Chinese tag songs, then setting the language to Chinese will work for both. However, if you have Chinese tag songs and Japanese tag songs, then you need to set the language accordingly, depending on whether you are transferring Chinese tag songs or Japanese tag songs.

  • Using SQL*Loader to Load Russian and Chinese Characters

    We are testing our new 11.2.0.1 database using Oracle Linux 6. We created the database using the AL32UTF8 NLS Character set. We have tried using sqlldr to insert a few records that contain Russian and Chinese characters as a test. We can not seem to get them into the database in the correct format. For example, we can see the correct characters in the file we are trying to load on the Linux server, but once we load them into a table in the database, some of the characters are not displayed correctly (using SQL*Developer to select them out).
    We can set the values within a column on the table by inserting them into the table and then select them out and they are correect, so it appears the problem is not in the database, but in the way sqlldr inserts them. We have tried several settings on the Linux server to set the NLS_LANG environment to AMERICAN_AMERICA.AL32UTF8, AMERICAN_AMERICA.UTF8, etc. without success.
    Can someone provide us with any guidance on this? Would really appreciate any advice as to what we are not getting here.
    Thanks!!

    The characterset of the database does not change the language used in your input data file. The character set of the datafile can be set up by using the NLS_LANG parameter or by specifying a SQL*Loader CHARACTERSET parameter. I suggest to move this question to the appropriate forum: Export/Import/SQL Loader & External Tables for closer topic alignment.

  • Fax output - Chinese characters are garbled

    Hello,
    We are using fax output for two forms ( One smartform and the othe sap script). Both the form outputs are thorugh  the same fax device. For the smartform output there are no issues and the output is as expected but for the sap script output the chinese characters are garbled. Instead of the chinese characters i get output like _____ _______>,<%,,<< etc.
    Interestingly, if i have a look at the print preview or take print out there is no issue and the characters are as expected. The issue arises only during fax.
    Can someone help pls?
    Thanks,
    Venkat

    HI friend,
    I found few same post in SDN which are related to this Chinese characters in SAP Scripts.
    Please see this link and find is the problem is same as yours if so make use of it.
    Link: [Output of Sapscript in Chinese language|Output of Sapscript in Chinese language;
    Link: [Problem displaying Chinese Characters|Problem displaying Chinese Characters in SAP script form WESCHEINVERS1;
    I think these will be helpful please revert back to me after going through the links.
    Thanks,
    Sri Hari

  • Chinese characters are displayed as blank box on the TextField in Taiwan Android 4.4.2/AIR4.0

    Chinese characters are displayed as blank box on the TextField in Taiwan Android 4.4.2/AIR4.0, such as Nexus7, HTC One,  but in mainland China Nexus7(Android 4.4.2/AIR4.0) showed normal
    AIR SDK is 4.0.0.1628.
    Hope it can be fixed as soon as possible.
    Here is test code:
    package
              import flash.display.Sprite;
              import flash.display.StageAlign;
              import flash.display.StageScaleMode;
              import flash.text.Font;
              import flash.text.TextField;
              import flash.text.TextFieldAutoSize;
              import flash.text.TextFormat;
              public class TestFont extends Sprite
                        public function TestFont()
                                  stage.scaleMode = StageScaleMode.NO_SCALE;
                                  stage.align = StageAlign.TOP_LEFT;
                                  var sprite:Sprite = new Sprite();
                                  var value1:String = "简体中文测试";
                                  var value2:String = "繁體中文測試";
                                  var txt11:TextField = createTextField(null, "11 "+value1);
                                  txt11.x = 10;
                                  txt11.y = 10;
                                  sprite.addChild(txt11);
                                  var txt12:TextField = createTextField(null, "12 "+value2);
                                  txt12.x = txt11.x + txt11.width;
                                  txt12.y = txt11.y;
                                  sprite.addChild(txt12);
                                  var txt21:TextField = createTextField("STHeitiTC-Medium","21 "+value1);
                                  txt21.x = 10;
                                  txt21.y = txt11.y + txt11.height;
                                  sprite.addChild(txt21);
                                  var txt22:TextField = createTextField("MSYH","22 "+value2);
                                  txt22.x = txt21.x + txt21.width;
                                  txt22.y = txt21.y;
                                  sprite.addChild(txt22);
                                  var lastY:int = txt22.y + txt22.height;
                                  var fonts:Array = Font.enumerateFonts(true);
                                  var index:int = 0;
                                  for each (var font1:Font in fonts)
                                            index++;
                                            var txtF:TextField = createTextField(font1.fontName, index + "/" + fonts.length + " " + font1.fontName + " "+value1 +" " + value2);
                                            txtF.x = 10;
                                            txtF.y = lastY;
                                            sprite.addChild(txtF);
                                            lastY += txtF.height;
                                  addChild(sprite);
                        public function createTextField(font:String, value:String):TextField{
                                  var txt:TextField = new TextField();
                                  txt.autoSize = TextFieldAutoSize.LEFT;
                                  var format:TextFormat = new TextFormat();
                                  if(font != null){
                                            format.font = font;
                                            txt.defaultTextFormat = format;
                                            txt.setTextFormat(format);
                                  txt.text = value;
                                  var dformat:TextFormat = txt.defaultTextFormat;
                                  if(dformat != null){
                                            txt.text = value + " |" + dformat.font;
                                  if(font != null){
                                            txt.setTextFormat(format);
                                  return txt;

    I am in mainland China, my Nexus7 can display chinese characters, but my friend in Taiwan, his android4.4.2 display chinese characters as blank.
    I don't understand the reason.
    By the way, TextFormat.font don't work, whatever I set any fonts, display are the same.
    My screenshots:
    Taiwan's screenshots:

  • Axt and ge fonts are showing in illustrator middl east version of mac

    axt and ge fonts are showing in illustrator middl east version of mac

    Hi Mark,
    Well, something is corrupt. The problem remains even after signing on
    as another user. Now, another machine (also a quad core G5) is having
    the same problem. This second mac has not shared files with the first one. Sometimes the glyphs from the fonts are just not
    there, and at other times they are replaced with symbols.
    One can immediately view the pdf properly and without error by opening it
    with Acrobat.
    So this problem is intermittent (it goes away for a while after rebooting),
    occurs whenever pdfs are viewed with Preview (e.g. from within Safari
    or straight loadad into Preview). This is getting very very annoying.
    I'm begining to think that only a total re-install will solve the problem,
    but since it is now happening on a second machine, I'm worried that
    something more insidious is happening.

  • Chinese characters are displaying as squares in mail subject & content

    Hi when I am sending or receiving mail which is having Chinese characters in either mail subject or contents then some Chinese characters are appearing as squares.
    This issue is only coming on single system (Window XP, outlook 2007)

    Hello,
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    I'm marking the reply as answer as there has been no update for a couple of days.
    If you come back to find it doesn't work for you, please reply to us and unmark the answer.
    Cara Chen
    TechNet Community Support

  • English and Chinese characters in a FIle

    Hi,
    I need to read a file from application server and create a idoc with that data. But, the File may sometime contain a mix of English and Chinese Characters as below.
    File at application server is as below format:
    #####û´##û³##úÊ##þÎñÓ#######MR###õ###########ø°####ò²#####7588##7590##200000
    The file has six fix fields separated by ''. But when I move these fields in six variables, in 4th variable the value comes as '#õ###########ø°####ò²#####7588##7590##' instead of only '#õ' (it takes value of 5th variable also) and then the rest of fields get misplaced.
    Any idea about this problem?
    Please note that My system in SAP 4.6.
    Thanks.

    Hi..
    Probably  is caused by the 2bytes consume of chinese characters, have you tried to temporarly delete those chinese characters from the input data and see what happen?..
    Hope to help...

  • Preloader is now centering although horizontal and verticle slider are showing up.

    preloader is now centering although horizontal and verticle scroll are showing up. M y question is how do I get rid of the horizontal and verticle scollon the man page now that the preloader centering code has been
    added in to the edge file from dreamweaver. I dont think you can get rid of the horizontal and vertcle  scoll bars from the edge menu the stage propertie menu is blocked  once you plac the codde for the centering preload from dreamweaver.
    here is the codde I entered with dreamweaver can it be altered or somthing to get rid of scroll  bars on the main page that showed up after I placed the code in the html(created origanlly with edge) with dreamweaver.
    <body style="margin:0;padding:0;height:100%;background-image:url(back2.jpg);">
    <div id="container" style="margin:0;padding:0;height:100%;background: url(images/loader-bar.gif) no-repeat center center;">
              <div id="Stage" class="EDGE-19258028">
    </div>
    </body>
    the entire code looks like this in dreamweaver
    <!DOCTYPE html>
    <html style="height:100%;">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=IE8"/>
        <title>Untitled</title>
    <!--Adobe Edge Runtime-->
        <script type="text/javascript" charset="utf-8" src="musicwebpage_edgePreload.js"></script>
        <style>
            .edgeLoad-EDGE-7449833 { visibility:hidden; }
        </style>
    <!--Adobe Edge Runtime End-->
    </body>
    </html>
    <body style="margin:0;padding:0;height:100%;background-image:url(back2.jpg);">
    <div id="container" style="margin:0;padding:0;height:100%;background: url(images/loader-bar.gif) no-repeat center center;">
              <div id="Stage" class="EDGE-19258028">
    </div>
    </body>

    The songs that show the "note" were they downloads directly from iTunes? iTunes downloads all have artwork. If not, you will get that 50/50 chance of no album cover art. I had to look up the songs (of the ones I was importing at the time) artwork on "Google". Then I would just add the pic for the artwork myself. No more blanks ("or notes") Just beautiful pics to scroll through....

  • SWFs built in versions 10.3, 11.1 and 11.7 are showing up as versions 12, 14 and 20!

    SWFs built in versions 10.3, 11.1 and 11.7 are showing up as versions 12, 14 and 20 when checked in a SWF version tool. As a consequence the flash banners I have created are being rejected by the media agency. Can someone pls advise?

    i'm not sure about that media agency, but those numbers look about right:
    "SWF Version" | "Flash Player Version"
    ========================================
           9       |          9
          10       |       10, 10.1
          11       |         10.2
          12       |         10.3
          13       |         11.0
          14       |         11.1
          15       |         11.2
          16       |         11.3
          17       |         11.4
          18       |         11.5
          19       |         11.6
          20       |         11.7

  • FSG Reports (P&L and Balace Sheet) are showing null balances

    Hi Experts,
    Let me update
    Post upgrade when we have tried to execute the P&L Report in the R12.1 instance we are not getting the output. FSG Reports (P&L and Balace Sheet) are showing null balances after the Application upgrade from 11.5.10.2 to R12.1.1
    We have followed the note id 189282.1 and applied the patch patch 11792958:R12.RG.B
    plus patch 10380225:R12.GL.B for 12.1 FSG drilldown on the R12.1 upgrade instance but no luck.
    Please advise.
    Regards
    Mohammed.

    Post upgrade when we have tried to execute the P&L Report in the R12.1 instance we are not getting the output. FSG Reports (P&L and Balace Sheet) are showing null balances after the Application upgrade from 11.5.10.2 to R12.1.1Can you find any errors in the logs?
    FSG:Message Detail Log File (iTAR template) [ID 312537.1]
    FSG Transfer Troubleshooting Guide [ID 161635.1]
    FSG: Useful Notes for Most Common Issues in Financial Statement Generator [ID 1087207.1]
    We have followed the note id 189282.1 and applied the patch patch 11792958:R12.RG.B
    plus patch 10380225:R12.GL.B for 12.1 FSG drilldown on the R12.1 upgrade instance but no luck.
    For 12.1.x FSG, you need to apply:
    - Patch 11792958:R12.RG.B
    - Plus, Patch 10380225:R12.GL.B for 12.1 FSG drilldown
    FSG: Apply Latest Patch - How to Find it and Verify it has been Applied [ID 189282.1]
    Thanks,
    Hussein

  • Block japanese and chinese characters in a string

    Hi,
       I need to check a string whether it contains only Alphabets, Numbers and special characters. Requirement is to block Japanese and chinese characters . If possible let the know the logic through which this can be achieved.
    Your assitance will be appreciated.
    Thks in advance

    Hi.
    If sy-langu NE 'JA' or sy-langu  NE 'ZH'.
    Write your logic here as per your requirement.
    Endif.
    Regards.
    Jay
    Edited by: Jay on Jan 6, 2009 5:47 AM

Maybe you are looking for

  • How do I set my printer to black and white ONLY?

    I have an HP Photosmart All-In-One C4480.  I don't want to have to buy color cartridges, because I only need black and white, and I have three black and white cartridges already.  How do I set the printer to print my documents in black and white only

  • Using second computer with iMac monitor

    Does anyone know if it is possible to use the imac as a monitor for a second computer? I have speciality software that must run on XP and dual booting would be a problem secondary to need for a set IP address and support at my place is lousy. I used

  • Pictures show up and then disappear nowhere to be found

    i have a compaq presario sr5262nx.I open a pictures folder and my thousand pictures come up for a second I can see them there and then they disappear.Same with the desktop Icons Antimalware doctor installed itself dont know how after i tried to unins

  • App world Error " Token has expired, please login Error 50101

    I've had this error on my BB for a while now and I have tried deleting App world and reloading it about 10 times and it's still giving me that error.  I have tried reloading using WIFi and connected and still the same issue.  Is there any other fixes

  • How to download and install all drivers on my laptop..plz help

    how to download and install all drivers  on my laptop..plz helpthe pre installed OS was ubuntu but now i havve installed Windows 7 64 bit...i m not able to use internet through ethernet,my wifi is not working..and many such problems related to driver