Not all chinese characters display correctly with non-embedded text

Hi all,
  I've updated to the last beta 2 of Flash Player 10.1 (10,1,51,66) and compiled this simple Flex application to illustrate the fact that not all chinese characters can be displayed correctly with non-embedded text (device font).
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.adobe.com/flex/spark"
               xmlns:mx="library://ns.adobe.com/flex/halo"
               minWidth="1024" minHeight="768"
               creationComplete="resourceManager.localeChain = ['zh_CN'];"
               layout="{new VerticalLayout()}">           
    <fx:Script>
        <![CDATA[
            import spark.layouts.VerticalLayout;
        ]]>
    </fx:Script>
    <s:Label text="伜-伞伟传伡伢伣伤伥伦伧伨伩伪伫伬伭-伝">
    </s:Label>
    <mx:Label text="伜-伞伟传伡伢伣伤伥伦伧伨伩伪伫伬伭-伝"/>       
</s:Application>
  Notice that characters from the Unicode range 0x4F1E .. 0x4А2D are not displayed within <s:Label> component that uses Flash Text Engine (FTE) by default to display the text, but at the same time those characters display just fine within older <mx:Label> component that relies on flash.text.TextField instance to render the text.

    OK, did not know that "Arial Unicode MS" font is only distributed with Microsoft Office, was looking into relying on this font in case if "simsun.ttc" font is not available at the user's system, by using the following:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.adobe.com/flex/spark"
               xmlns:mx="library://ns.adobe.com/flex/mx"
               minWidth="1024" minHeight="768"
               creationComplete="resourceManager.localeChain = ['zh_CN']"
               layout="{new VerticalLayout()}">               
    <fx:Style>
        @namespace s "library://ns.adobe.com/flex/spark";
        @namespace mx "library://ns.adobe.com/flex/halo";
        s|Label {
            fontFamily: "Arial Unicode MS, SimSun, Arial";            
    </fx:Style>   
    <fx:Script>
        <![CDATA[
            import spark.layouts.VerticalLayout;
        ]]>
    </fx:Script>
    <s:Label id="sparkLabel" text="伜-伞伟传伡伢伣伤伥伦伧伨伩伪伫伬伭-伝"/>   
</s:Application>  
Tough decision ahead, but accordingly to  the survey at codestyle.org (2000 participants from 2007 year and onwards), Arial Unicode MS is present at 62.53%% system surveyed.
ps
   My current install of Windows XP already includes the install of Microsoft Office 2007 and I've also enabled/disabled the support of East Asian languages, thus the content of  my "fonts" folder differs now significantly from "clean" Windows XP install version.
Nevertheless I found the page with comprehensive lists of standard fonts installed with different releases of Windows that looks viable here:  http://www.kayskreations.net/fonts/fonttb.html

Similar Messages

  • Crystal Reports XI R2 Chinese characters display issue(with VB6)

    I have a vb6 program that interfaces to crystal reports xi using crystal active x report viewer. When i print a report with Chinese characters in it, they print end up printing as boxes, but when i open the report through crystal itself they print fine.
    Is there some setting that needs to be set to allow the characters to display properly?

    Not a bug in CR, it's a limitation of Microsoft Framework. It has problems rendering fonts properly though GDIPlus.
    Crystal Reports is a Win32 app, VB 6 and newer OS has issues. The viewer for CR is built into crw32.exe, the viewer you are using is an ActiveX viewer ( crviewer.dll ) and it can have limitations also. Mostly, CR XI R2 is unicode, using non-unicode fonts or non-UTF-8 type fonts are not supported. So some may work and others not.
    Make sure the fonts you are using are True Type and that they are shared for all users. Depends on the OS you are using also.
    Also, install the only patches available for R2, it may be resolved if you are not on the last updates:
    https://smpdl.sap-ag.de/~sapidp/012002523100009114712011E/crxir2sp4_fullbuild.exe ( requires and uninstall first so make sure you have your keycode, we can't give you a new one.
    https://smpdl.sap-ag.de/~sapidp/012002523100009114412011E/crxir2sp6_incremental.exe
    Thanks
    Don

  • IP19 no Chinese characters displayed

    Dear all,
    When I logon in Chinese and execute the transaction IP19 (graphical) then I do not get Chinese characters displayed. (see attachment for the strange result).
    Does anyone has a solution for this?
    Kind regards,
    Laura

    Dear Maria,
    In the English login, the title is appearing normal but the Chinese characters are not displayed. See screenshot.
    In Japanese it is the same issue as in Chinese. The content is tranlated but the tlte of the screen not.

  • Its important that all characters display correctly in my pdf.

    When I convert a file to pdf, I always get this error: Cannot extract the embedded font'HWNDJR 83mkhgdligynvro' some characters may not display correctly. What is wrong? Its important that all characters display correctly in my pdf ebook. Please advise.
    Thank you, Sherrie Vitello
    Email: [email protected]

    Ok, not sure what you mean exactly. I'm new to all of this. What I do is I create an ebook, I convert to pdf using Primo pdf converter, the I upload it to the adobe reader so I can distribute it to my prospects online or print it out, if they want, and send it to them. But when I open the ebook while in adobe reader to examine it, I receive that error message. ?? Any suggestions would be much appreciated.

  • Not all users are displayed for log on after a reboot or startup...

    Problem summary: Not all users are displayed for log on after a reboot or startup...
    This problem only occurs after a fresh start-up or restart. The only users displayed are the initial (admin user) and "Guest". Two other (non-admin) users are not shown for log on.
    To work around this problem and get them to log on we have to log on as the admin user, then we can see the other users in the Fast User Switching menu (top right-hand corner of the screen), listed under the current logged on user. After selecting the non-admin user we can log in and use the laptop as normal.
    If we lock the screen, use fast user switching or log out all users; all users are available for log in, until a reboot is done; at which point the non-admin users disappear again and we have to log in as the admin user and use fast user switching again.
    The laptops are both brand new MacBook Airs. The initial configuration of Mac OS X Yosemite was done using the Apple ID of the purchaser (parent) and then the OS was patched, immediately, through the App store (no further updates available as of the date of this posting). After this Family Sharing was activated and new users set up for the two children who will be using these laptops.
    Has anybody else experienced this problem with Yosemite?
    Cheers,
    David.

    David,
    Users not enabled for FileVault unlock are only able to log into the computer after an unlock-enabled user has started or unlocked the drive. Once unlocked, the drive remains unlocked and available to all users, until the computer is restarted.
    FileVault has to be On.
    To Enable the users to be able to unlock FileVault Go to:
    System Preferences > Security & Privacy > FileVault ( Tab ) > Click the Lock in the bottom left > Put in your administrator password > Should see an option to Enable Users > Enable User.
    Hope that helps,
    Weston
    Supporting Articles,
    OS X: About FileVault 2 - Apple Support

  • Itunes can not show chinese characters.

    My Itunes can not show chinese characters, they are all blocks, while I can re-type in the chinese name of the song in Itunes, then it works.
    The same as Japanese, some time it can show Jap, while sometime can not. How can I solve this problem. My computer is Mac system

    Do you have such problem only with Chinese characters?

  • Read SAP table content through VBA  why  Chinese characters display as '#'

    Hi ,
    I meet a problem . I want to get sap table content through RFC in excel  VBA. now  i have solve it . It can got table content . when  i change a new  system , it can get table content ,but chinese characters display as '#' ( it works well in sap 4.6c Chinese characters can display , when upgrate to ecc 6.0 it can't works well )
    some VBA code as below :
    Set ofun = CreateObject("SAP.FUNCTIONS")  ' create a FUNCTION object
       '  Connect  has create and conneted to SAP system
    Set ofun.Connection = Connect                     ' "connect"has create connetion sucess
    Set func = ofun.Add("RFC_READ_TABLE")    ' set RFC object to call function
        func.Exports("QUERY_TABLE") = "T179T"   ' set table name for get table content
        func.Tables("OPTIONS").DATA = "SPRAS   =   'ZH'"    ' set condition of language of  'ZH'
    If func.Call = True Then
            Set oline = func.Tables.Item("DATA")       ' set table content which get from table T179T to object "oline"
    endif
    who can give me some suggestion about this ?  Thanks .
    Edited by: Chris Xu on Oct 31, 2008 6:51 AM

    Hi Chirs,
    I am facing the same problem but i am using c sharp and this is a windows application.
    I tried to change the CodePage attribute by simply setting connection.codepage = "8040";
    But i get an exception.
    attempted to read or write protected memory.
    I cant seem to change this. What should i do. Also do we have to set this at the point of connecting to the Sap system or when i'm calling the RFC. I tried both instances but none worked. Could you please help me out.
    i am using VS 2008.
    Thanks,
    Yohan

  • When I upload a cvs file not all the column display in the Data / Table Mapping screen

    1. I have created application using Apex Data Loading wizard. There when I am trying to load data from .csv file, but not all the columns display in the "Data / Table Mapping" screen. But if I go through AQL --> Utility --> Data Workshop, there all column display in "Data / Table Mapping" page. I want to get same thing in application I created. How will get all columns display in the screen?
    2. Is there any way to select target table dynamically during runtime. So that in appication we can select different target tables with different source file to load data.

    Your user info says iPad. This is the OS X Numbers forum. Assuming you are using OS X… Be sure the file is named with a .csv suffix.
    (I don't have an iPad, so I don't know the iOS answer.)

  • IPad pixels are not all working so display is multicoloured any ideas

    iPad pixels are not all working so display is multicoloured any ideas.

    Not normal. Take it to an Apple Store for evaluation.
    Make a Genius Bar Reservation
    http://www.apple.com/retail/geniusbar/
     Cheers, Tom

  • Chinese characters displayed with Arial

    Hello,
    I have got a very strange problem. I have a java application (I'm using Swing) that uses Chinese characters. The characters are displayed correctly.
    During runtime the characters turn into squares. There is no regularity or specific action I do that triggers this event.
    There are two problems:
    1. As I mentioned, the characters turn into squares
    2. The Chinese characters should NOT be displayed, as I am using "Arial", which does not contain Unicode characters.
    Some suppose that the glyph cache contains - for what reason ever - the Chinese characters. Consequently, though using arial you can display Unicode characters. Then, at an unknown moment the garbage collector clears the glyph cache so that the characters turn into squares.
    Is this theory logical? What other causes could there be for this problem? :-S
    Thanks...!
    Greets... Simon :-)

    Simon1187 wrote:
    Hello,
    I have got a very strange problem. I have a java application (I'm using Swing) that uses Chinese characters. The characters are displayed correctly. In your IDE which has a specific font selected...
    During runtime the characters turn into squares. There is no regularity or specific action I do that triggers this event. In your running application which does not...
    There are two problems:
    1. As I mentioned, the characters turn into squaresThey don't.
    2. The Chinese characters should NOT be displayed, as I am using "Arial", which does not contain Unicode characters.Which is exactly why you see what you see.
    Some suppose that the glyph cache contains - for what reason ever - the Chinese characters. Consequently, though using arial you can display Unicode characters. Then, at an unknown moment the garbage collector clears the glyph cache so that the characters turn into squares.
    Is this theory logical? What other causes could there be for this problem? :-S
    No. You're trying to display something the operating system and JVM can't display, and they show you the only thing they can show, a placeholder.

  • Portal application not displaying correctly with frame size 125% in IE

    Dear Expert,
    We are facing issue in Portal (7.0) like, when I open the application "Products Coatings" in myWorkspace with Internet Explorer
    display size 100% the frame "xyz" is displayed correctly:But When I open the application "Product Coatings" in myWorkspace with Internet Explorer display size 125% the same frame is NOT displayed correctly.
    Someone can help me in closing this issue..
    Thanks,
    kundan

    Hi,
    How are you opening your portal application? Is it through iViews? Where are you setting the property as 125%?
    Thanks,
    Mahendran B.

  • How to display feeds with non-latin utf8 characters in Raggle?

    Has anyone tried to use raggle to read feeds with non-latin utf8 characters?
    If you are successful, how to do it?
    Thanks

    i have this problem too...
    Last edited by vdo (2008-09-02 12:19:31)

  • Chinese characters displaying as square

    Hi,
    I am trying to update a text frame with following script. It works well for all ascii but if chinese characters are entered in text, it displays them as square. I have language pack installed on Indesign machine.
    //----script starts-----
    var myDocument = app.open(File('//192.168.1.189/Clients/44/ArtBuild/Artworks/60951.indd'));
    var myTextFrame = objPage.textFrames.itemByID(tmp_frmid);
    var paragraph1 = myTextFrame.paragraphs.item(0);
    paragraph1.contents = "Hello ャンペー"
    myDocument.save('MyFile.indd');
    //-----script ends ----
    This updates indd file to display
    Hello□□□□
    What can be done so that unicode displays as it is.

    Chinese fonts are already available on Indesign Machine.
    Another related query regarding special charcters is:
    If the above file doesn't have chinese characters but some special characters, then
    1. if I copy the script and execute it in ExtendTool script, it properly updates the indd with special characters specified
    2. If I call IndesignServer webservice by passing path of same script file, it updates indd file with junk characters.
    Wonder, what difference it makes when script is executed through indesign webservice and not ExtendToolscript

  • AWT PopupMenu not showing Chinese Characters

    Hi all.
    I have a mostly Swing application that must display English and Chinese characters. Changing the Swing components has been easy, however I am having problems changing an AWT PopupMenu that i use in combination with the new TrayIcon features of Java 6. TrayIcon requires an awt PopupMenu, so i cannot use a Swing JPopupMenu even if i wanted to.
    The problem is that instead of the correct words i am getting just empty squares, which seem to indicate a problem. I have tried setting the font to "SimSun" but this made no difference.
    I also tried this hack to use a JPopupMenu with Trayicon
    http://weblogs.java.net/blog/ixmal/archive/2006/05/using_jpopupmen.html
    This correctly showed the Chinese characters but it threw up lots of 'class cast' exceptions.
    My ideal solution would be to fix the problems with PopupMenu as apposed to fixing the class cast exception errors with the JPopMenu hack.
    Would anyone know why i cannot display Chinese characters in a AWT PopupMenu? have i missed something?
    Thanks
    Steven

    hi!
    check this out
    package com.ani;
    import java.awt.BorderLayout;
    import java.awt.Font;
    import java.awt.Frame;
    import java.awt.Graphics;
    import java.awt.Label;
    import java.awt.Panel;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import javax.swing.JLabel;
    public class showHindi extends Panel
         public showHindi()
              setLayout(new BorderLayout());
              String unicodeText = "\u0928\u092e\u0938\u094D\u0924\u0947";
              Font fn = new Font("Arial Unicode MS", Font.PLAIN, 32);
              Label lblText = new Label(unicodeText) {
                   @Override
                   public void paint(Graphics g)
                        //super.paint(g);
                        g.clearRect(0, 0, getWidth(), getHeight());
                        String str = getText();
                        g.drawChars(str.toCharArray(), 0, str.length(), 0, 30);
                        //System.out.println(getText());
              lblText.setFont(fn);
              JLabel lblText1 = new JLabel(unicodeText);
              lblText1.setFont(fn);
              add(lblText, BorderLayout.NORTH);
              add(lblText1, BorderLayout.SOUTH);
         public static void main(String[] args)
              Frame frm = new Frame("Test Hindi");
              frm.add(new showHindi());
              frm.setSize(600, 400);
              frm.addWindowListener(new WindowAdapter() {
                   @Override
                   public void windowClosing(WindowEvent e)
                        System.exit(0);
              frm.setVisible(true);
    }this is working in my machine. i have used JLabel and Label both to just show you the difference. there is a flickering bug because of rendering, i hope you can manage that.
    regards
    Aniruddha

  • ExternalInterface not returning chinese characters

    I've got a Flex application embedded in a PDF.  Also in that PDF is a field (hidden text field) called Data containing XML that happens to contain chinese characters.  The encoding for the XML data is UTF-16. To retrieve the data, I make a JS call (getData) using ExternalInterface.  The JS is simple:
    function getData()
      var data = this.getField('Data').value;
      return data;
    I also inserted before the return an alert to display the data.  The chinese characters were present and displaying as expected:
    In my flex application I make the following call:
    var resultXML:XML = XML(ExternalInterface.call("getData"));
    However, the resulting XML appears to not be read as UTF-16, and the characters displayed look like:
    Is there something special I have to do to get the chinese characters correctly passed through from the ExternalInterface call?

        OK, did not know that "Arial Unicode MS" font is only distributed with Microsoft Office, was looking into relying on this font in case if "simsun.ttc" font is not available at the user's system, by using the following:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx"
                   minWidth="1024" minHeight="768"
                   creationComplete="resourceManager.localeChain = ['zh_CN']"
                   layout="{new VerticalLayout()}">               
        <fx:Style>
            @namespace s "library://ns.adobe.com/flex/spark";
            @namespace mx "library://ns.adobe.com/flex/halo";
            s|Label {
                fontFamily: "Arial Unicode MS, SimSun, Arial";            
        </fx:Style>   
        <fx:Script>
            <![CDATA[
                import spark.layouts.VerticalLayout;
            ]]>
        </fx:Script>
        <s:Label id="sparkLabel" text="伜-伞伟传伡伢伣伤伥伦伧伨伩伪伫伬伭-伝"/>   
    </s:Application>  
    Tough decision ahead, but accordingly to  the survey at codestyle.org (2000 participants from 2007 year and onwards), Arial Unicode MS is present at 62.53%% system surveyed.
    ps
       My current install of Windows XP already includes the install of Microsoft Office 2007 and I've also enabled/disabled the support of East Asian languages, thus the content of  my "fonts" folder differs now significantly from "clean" Windows XP install version.
    Nevertheless I found the page with comprehensive lists of standard fonts installed with different releases of Windows that looks viable here:  http://www.kayskreations.net/fonts/fonttb.html

Maybe you are looking for

  • IPod not recognized by Mac mini

    My Mac mini has recently had frequently problems recognizing any of my iPods (touch, nano) and my iPhone. The following warning appears in the console: 21.01.09 19:25:56 com.apple.usbmuxd[208] usbmuxd[208]: Ignored interface, IOCreatePlugInInterfaceF

  • How to get rid off custom installed theme completely and revert back to mavericks theme(system default)

    Recently, I tried installing a third party theme in my macbook pro (OSX mavericks_10.9.5 installed). Once installation got over i could notice that it was not properly installed in my retina display so i thought of reinstalling the same. Re-install c

  • How to customize keyboard layout on Lion?

    Have just transferred FCE 4.0.1 to Lion. How can I customize keyboard, particularly the F-9 thru F-12 insert edit keys?

  • MacBook Pro won't close have to use power button

    My Mac won't turn off. Desk top is blank with mouse cursor showing. Will only quit using the power button. I have run the FSCK as David Pogue suggests, ran Disk Utilities from the Install disk but no change. Anyone have any similar problems or better

  • Mp3 player help

    Hi everybody I have a question. I downloaded a template from a site for my new musical project. Totally new to flash but managed to get everything working great. My last hurdle is regarding mp3s. I have created a page on the site where people can go