4 Replies Latest reply on Jul 7, 2009 8:35 AM by PeakDigital

    Unicode special characters don't show in components?

    PeakDigital Level 1

      I am trying to use some of the arrow characters available in UTF-8 (see http://www.fileformat.info/info/unicode/char/search.htm?q=arrow&preview=entity ) in my Flex app, but I can't get them to show up.

       

      I first tried inserting them by their character code, like textareaTesting.text="\u2193"; but the text area remained blank.  Same result when I tried to use an arrow character as part of a ComboBox item label. Then I tried copy/paste from the URL above into a textArea and rich text editor controls, and none of the special characters showed up that way either.

       

      I am using Verdana as an embedded font in my app. Embedding occurs in the app's .css file:

      @font-face
          {
          src: url("../assets/Verdana.ttf");
          fontFamily: fontVerdana;
          advancedAntiAliasing: true;
          }

       

      Any suggestions?

       

      Thanks.

      Paul

       

      UPDATE:

       

      Tried changing my embedding code to the following; still doesn't work.

      @font-face
          {
          src: url("../assets/Verdana.ttf");
          fontFamily: fontVerdana;
          advancedAntiAliasing: true;
          unicodeRange:
                 U+0000-U+00BF,
                 U+2190-U+21FF;
          }