Can't display non-unicode font

When I try to use Symbol font and display it in JLabel, it show a square.
i have read the article written by John O'Conner
http://www.joconner.com/javai18n/articles/TextDisplay.htm.
Thanks for providing those valuable information. it does help to understand some international issue.
however, I am not sure if it apply to Symbol font such as Wingdings, webdings.
    Font fontPalatino = new Font( "Palatino LinoType", Font.PLAIN, 25); //unicode font
    Font fontMapInfo = new Font( "MapInfo Transportation", Font.PLAIN, 25); // non-unicode font
    Font fontWingdings  = new Font( "Wingdings", Font.PLAIN, 25);
          // use integer number and convert into equivalent character
          // e.g. if i is 65 then c is A.
          // notes: 65 is a decimal value converted from hex 0041 value
          int i = 65;
          char c = (char)i;
          System.out.println( new Character(c).toString() );
          JLabel jlbl = new JLabel();
          jlbl.setFont(fontSymbol);
          jlbl.setText( new Character(c).toString() );1) I can't display any Wingdings font , any expert can help on this?
2) what is the difference between 0021(character code for Arial font) and 0x21(character code for Wingdings font) shown in character map?

When I try to use Symbol font and display it in
JLabel, it show a square.
i have read the article written by John O'Conner
http://www.joconner.com/javai18n/articles/TextDisplay.htm.
Much of that article is now incorrect or unnecessary for JDK 1.5. Because 1.5 knows how to find a font for the character you're trying to display, you should be able to set your label font to any logical font, and the JRE should find a substitute font if necessary that can display the character.
I'll give your code a try and will post results...is the code you've posted the code I should actually experiment with? It seems like you should want to display something different than 0x0065.
Your other questions:
0x0021 is the exclamation mark regardless of font. I see what you mean, however, since the wingdings font in charmap also says 0x0021. However, that mapping is obviously not a Unicode code point mapping.
I looked in the Misc. Symbols and Dingbats section of Uncode. A few characters might be a reasonable substitution for the pencil character you want:
0x270E (LOWER RIGHT PENCIL)
0x270F (PENCIL)
0x2710 (UPPER RIGHT PENCIL)
I didn't see any mirror images of these, ie LOWER LEFT PENCIL and UPPER LEFT PENCIL, although I admit that I didn't look closely.
Maybe one of these will work for you instead of the Wingdings 0x21 character you mentioned.
Regards,
John O'Conner

Similar Messages

  • EPM11.1.1.1 Data Prep Editor Can't Display non-Unicode text

    LANG=zh_CN.GBK
    ESSLANG=SimplifiedChinese_China.MS936@Binary
    I open data file, Chinese can not be displayed , but I can mannuly input Chinese.
    Display unicode text is OK, cannot load, so I change cube to unicode mode, Load data is OK. but DIM(informatica) cannot see the unicode application.

    Hi Bruce,
    for GeoRaster themes you can define a specific pyramid level to render, or you can leave the pyramid level null on the theme definition, and in this case MapViewer calculates the best level to render. The second option is recommended as it avoids loading unnecessary data given the current display parameters. If you are seeing your image get blocked, most likely at this zoom level and up you have reached the highest pyramid level of the GeoRaster. Even in MapBuilder if you keep zoom in, you get a blocked image after reaching the highest resolution level.
    Joao

  • Can't run non-UNICODE-DbSl against UNICODE database

    Hi everyone. I get this error during the update of Solution Manager 7.1 SPS4 (dual stack) to SPS10. It is a green install. This happens during the
    phase PREP_EXTRACT/PREIMP! Of the ABAP stack. Step 5.2. I do not see a lot of people with this problem, so I assume it is something I am doing wrong, as it is my first time using the tool SUM.
    Details of the system:
    Solution Manager 7.1 SPS4
    Windows 2008 R2 64 bit
    Microsoft SQL 2008 R2 64 bit SP1
    Central installation type with all components on
    the same host
    Kernel level 600
    Here is what I have done so far:
    Downloaded the media as described in the installation
    guide.
    Worked my way through the install using the
    Software Provision Manager 1.0
    Updated the Kernel from level 401 to 600, by
    copying the files from the download folder to the F:\usr\sap\SM1\SYS\exe\uc\NTAMD64
    folder. This is the folder that is assigned to the DIR_CT_RUN parameter.
    I start the STARTUP.BAT file in the SUM folder.
    I then start the SUM GUI and run through the
    steps and in step 3 I map the Stack configuration file (XML) to one listed in
    the folder “51047130\DATA” called “SPS10_stack.xml”
    Then I
    get to 5.2 where the system stops with this error:
    Severe error(s) occurred in phase PREP_EXTRACT/PREIMP!
    Last error code set: Single errors (code <= 8) found in logfile 'PREIMP.ELG'
    ERROR: Detected the following errors:
    # F:\usr\SUM\abap\log\R710VPE.<DB>:
          4 ETW000 TRACE-INFO: 19:  [    dev trc,00000]  Driver: sqlncli10.dll Driver release: 10.50.2769                                3938  0.039733
          4 ETW000 TRACE-INFO: 20:  [    dev trc,00000]  GetDbRelease: 10.50.2769.00                                                      1603  0.041336
          4 ETW000 TRACE-INFO: 21:  [    dev trc,00000]  GetDbRelease: Got DB release numbers (10,50,2769,0)                                21  0.041357
          4 ETW000 TRACE-INFO: 22:  [    dev trc,00000]  Can't run non-UNICODE-DbSl against UNICODE database                              2647  0.044004
          4 ETW000 TRACE-INFO: 23:  [    dev trc,00000]  CheckCodepageType failed. Connect terminated.                                      13  0.044017
          2EETW169 no connect possible: "DBMS = MSSQL                            ---  SERVER = '<SERVER>' DBNAME = '<DB>'"
    Can
    anyone please help?
    PS:
    The admin user that I use do have access to the database. It is listed with
    sysadmin role and the default DB is the Solution Manager db.

    ERROR: Detected the following errors:
    # F:\usr\SUM\abap\log\R710VPE.<DB>:
          4 ETW000 TRACE-INFO: 19:  [    dev trc,00000]  Driver: sqlncli10.dll Driver release: 10.50.2769                                3938  0.039733
          4 ETW000 TRACE-INFO: 20:  [    dev trc,00000]  GetDbRelease: 10.50.2769.00                                                      1603  0.041336
          4 ETW000 TRACE-INFO: 21:  [    dev trc,00000]  GetDbRelease: Got DB release numbers (10,50,2769,0)                                21  0.041357
          4 ETW000 TRACE-INFO: 22:  [    dev trc,00000]  Can't run non-UNICODE-DbSl against UNICODE database                              2647  0.044004
          4 ETW000 TRACE-INFO: 23:  [    dev trc,00000]  CheckCodepageType failed.
    As per error, you have used wrong kernel. Please make sure that you use unicode kernel as your system is also unicode.
    Thanks,
    Sunny

  • The JSP WYSIWYG Editor can't display most Unicode characters

    Eclipse supports display of Unicode characters very well since version 3. However, NitroX couldn't display most most of them. Well, besides characters from other non-Western European languages, NitroX can't even display characters that it's supposed to support. Well, that's what I think so. I mean, when we type the & character, we have the whole list of character entity references amongst which we could find &and; &nabla; &or; &rarr; but which are not displayed correctly. And many more are in this case.
    Is this a feature or a bug? By "feature", it means that we can't get them in free version.

    I have exactly the same problem. I support web pages for 25 European countries. I've not seen Nitrox support any unicode characters. Until M7 answers this question or fixes the editor, you can use the Eclipse editor to see and edit the text.

  • Can't use Cambodian unicode font

    I tried to create a new page in Dreamweaver 8 and attempting
    to use Cambodian (Khmer) unicode font, but it does not show all the
    upper and lower script. Even though I changed the New Document page
    and it still does the same. Anyone has any idea?

    When I try to use Symbol font and display it in
    JLabel, it show a square.
    i have read the article written by John O'Conner
    http://www.joconner.com/javai18n/articles/TextDisplay.htm.
    Much of that article is now incorrect or unnecessary for JDK 1.5. Because 1.5 knows how to find a font for the character you're trying to display, you should be able to set your label font to any logical font, and the JRE should find a substitute font if necessary that can display the character.
    I'll give your code a try and will post results...is the code you've posted the code I should actually experiment with? It seems like you should want to display something different than 0x0065.
    Your other questions:
    0x0021 is the exclamation mark regardless of font. I see what you mean, however, since the wingdings font in charmap also says 0x0021. However, that mapping is obviously not a Unicode code point mapping.
    I looked in the Misc. Symbols and Dingbats section of Uncode. A few characters might be a reasonable substitution for the pencil character you want:
    0x270E (LOWER RIGHT PENCIL)
    0x270F (PENCIL)
    0x2710 (UPPER RIGHT PENCIL)
    I didn't see any mirror images of these, ie LOWER LEFT PENCIL and UPPER LEFT PENCIL, although I admit that I didn't look closely.
    Maybe one of these will work for you instead of the Wingdings 0x21 character you mentioned.
    Regards,
    John O'Conner

  • Flex3 Not Displaying Sinhala Unicode Fonts in the MXML File

    I am using Flex 3.2  for my project.
    I want use Sinhala Unicode Fonts But inside the Mxml File I cannot type the Sinhala Characters.
    When I change the Keyboard to Sinhaha inside the Flex3 Sinhala Characters are not dispalying.
    But when I run the application I can see the fonts in the Browser.
    I am using Windows 7.
    Thanks
    Shums

    Thanks Tom. Yeah, I understand that PDFs are not designed to work like word-processing files, etc., and the need to have the Chinese text copy over well is really just to prove that the document is searchable (i.e. if it can copy a short section of text Ok, then it means the characters are recognized by the PDF reader and I can search the document, which is my main goal.)
    The problem I mentioned with Preview, etc., is actually a new one; one that has become a big problem for me only in the last few weeks. Before, I never had this issue. I'm not sure what changed, but I was suspecting MacKeeper and their "language cluster" cleaning feature, where it "helps" you by removing unused fonts. Though, I can't quite confirm that this has played a role. I just completely reinstalled the OS thinking that this would fix the issue by installing all the original fonts again, if MacKeeper did indeed remove the fonts these PDF programs use when editing or saving PDF files. However.....unfortunately....the problem is still here.
    So, that developer I mentioned in the first thread who said this is an OS X issue may indeed be correct.
    And just to be clear, I have confirmed that the PDF's I working with do have the fonts embedded already. It is only when I alter them and then save or export from Preview, Skim, Nomad, etc., that the character information gets stripped out and I'm left with a document that one can read but cannot search. I can't even OCR it because this problem also affects my OCR software, as if it can't get access to the fonts needed to embed in the recognized PDF.
    Any other thoughts? I'd appreciate any you have.

  • Can we UseECC6 non Unicode  with SRM7.0 Unicode system

    Hi SRM Gurus,
    Can we use ECC6.0 non unicode system with SRM7.0 Unicode system as a backend?
    I am searching for the information regarding the compatability and connectivity between Unicode and nonunicode systems.
    Can some please do let me know the web links related to my post or Please do let me know the Possibility for using ECC6.0 Non-Unicode with the SRM7.0 Unicode.
    Regards,
    Srini

    Hi,
    RFC communication takes care Unicode conversion. Question is how many languages are used in ERP 6.0. Non-Unicode -> Unicode should not be a problem but Unicode -> Non-Unicode is question.
    Is it single codepage system or old MDMP system?
    Regards,
    Masa

  • How can i install new Unicode fonts in Nokia X6?

    Recently I purchased new Nokia X6. In the phone i am unable to read South Asian Unicode fonts. All i see is series of boxes. How to Install new Unicode fonts in X6?
    Thanks in advance for your help.

    That particular link is dead.
    Anyway there's a way to get Japanese input on a s60v5.
    Fisrt : Get a Japanese support font (Unicode font).
    If you cant find it mail me i will send it to you.
    Make a folder Resource\Fonts in memcard
    Put the 4 fonts there.
    This is enough to VIEW unicode.
    To be able to INPUT it, Get an application called MFep60Setup . Its a IME (input method editor)
    And if you have only touchscreen, install a MVK software (virtual keyboard). I cant post links here but can google these two names for s60v5 and you'll find it.
    You may need to "sign" these apps before installing. Or "Hack" your phone. Guides are out there how to do that. Go figure!

  • Urxvt can't display certain Unicode arrow characters

    For some of the arrow characters in Unicode, specifically the codepoints 2900 to 2AFF, urxvt shows slim boxes, but for other characters it works.
    I am using a font that supports the glyphs, gnu unifont from the bdf-unifont package.
    Here is my .Xresources and Urxvt compile options
    *background: #002b36
    *color0: #073642
    *color1: #dc322f
    *color10: #586e75
    *color11: #657b83
    *color12: #839496
    *color13: #6c71c4
    *color14: #93a1a1
    *color15: #fdf6e3
    *color2: #859900
    *color3: #b58900
    *color4: #268bd2
    *color5: #d33682
    *color6: #2aa198
    *color7: #eee8d5
    *color8: #002b36
    *color9: #cb4b16
    *cursorColor: #93a1a1
    *fadeColor: #000000
    *fading: 20
    *foreground: #93a1a1
    *pointerColorBackground: #586e75
    *pointerColorForeground: #93a1a1
    URxvt*boldFont: -*-Unifont-*-*-*-*-*-*-100-100-*-*-*-1
    URxvt*boldItalicFont: -*-Unifont-*-*-*-*-*-*-100-100-*-*-*-1
    URxvt*borderLess: false
    URxvt*buffered: true
    URxvt*cursorBlink: true
    URxvt*font: -*-Unifont-*-*-*-*-*-*-100-100-*-*-*-1
    URxvt*hold: false
    URxvt*intensityStyles: false
    URxvt*iso14755: false
    URxvt*iso14755_52: false
    URxvt*italicFont: -*-Unifont-*-*-*-*-*-*-100-100-*-*-*-1
    URxvt*letterSpace: 1
    URxvt*mapAlert: true
    URxvt*mouseWheelScrollPage: true
    URxvt*perl-ext:
    URxvt*perl-ext-common: default,matcher,selection-to-clipboard,theme-switch
    URxvt*print-pipe: cat > $HOME/$(echo urxvt.dump.$(date +'%Y%M%d%H%m%S'))
    URxvt*saveLines: 0
    URxvt*scrollBar: false
    URxvt*scrollBar_floating: false
    URxvt*scrollBar_right: false
    URxvt*scrollTtyOutput: true
    URxvt*scrollWithBuffer: true
    URxvt*scrollstyle: plain
    URxvt*secondaryScreen: true
    URxvt*secondaryScroll: true
    URxvt*urgentOnBell: false
    URxvt*url-launcher: /usr/bin/firefox
    URxvt*utmpInhibit: false
    URxvt*visualBell: false
    Xft.antialias: 1
    Xft.autohint: 0
    Xft.dpi: 107
    Xft.hinting: 1
    Xft.hintstyle: hintfull
    Xft.lcdfilter: lcddefault
    Xft.rgba: rgb
    rxvt-unicode (urxvt) v9.21 - released: 2014-12-31
    options:perl,xft,styles,combining,blink,iso14755,unicode3,encodings=eu+vn+jp+jpext+kr+zh+zhext,fade,transparent,tint,pixbuf,XIM,frills,selectionscrolling,wheel,slipwheel,cursorBlink,pointerBlank,scrollbars=plain+rxvt+NeXT+xterm
    Anyone have any idea what's going on?

    I can confirm the odd character display. Xterm will display the problem Unifont characters, but there are column alignment problems at all but a few point sizes.  Many of the glyphs require two columns, but I don't know what difficulties that presents for font designers or terminal emulator programmers.
    Very few monospace fonts include these seldom used arrow symbols. If you truly need the arrows, you might try Everson Mono or Code2000 from the AUR. They include some of the glyphs in the problem range.

  • [SOLVED] Can't display extended unicode

    Hello,
    My arch install cannot render extended unicode characters. Example:
    http://i.imgur.com/3VNpkkI.png
    I first though it was a font issue, but this website tells me that I have many, many fonts that should display that character:
    http://www.fileformat.info/info/unicode … %2B0CA0%29
    It renders nowhere on my system. Not on firefox, not on terminal, not on gedit, nothing. I am sure it is not a font issue, as I have tried Arial, Times New Roman, DejaVu sans and other that are suppsed to have extended Unicode support.
    Here is the output of locale:
    [03:46:05 ~]$ locale
    LANG=en_CA.utf8
    LC_CTYPE="en_CA.utf8"
    LC_NUMERIC=en_CA.utf8
    LC_TIME=en_CA.utf8
    LC_COLLATE="en_CA.utf8"
    LC_MONETARY=en_CA.utf8
    LC_MESSAGES="en_CA.utf8"
    LC_PAPER=en_CA.utf8
    LC_NAME="en_CA.utf8"
    LC_ADDRESS="en_CA.utf8"
    LC_TELEPHONE="en_CA.utf8"
    LC_MEASUREMENT=en_CA.utf8
    LC_IDENTIFICATION="en_CA.utf8"
    LC_ALL=
    Thoughts?
    Last edited by morphheus (2014-08-28 09:59:52)

    Try https://wiki.archlinux.org/index.php/Fonts#Indic
    The Great Arch Linux wiki wrote:ttf-indic-otf - Indic OpenType Fonts collection (containing ttf-freebanglafont)
        (This one contains a "look of disapproval" that might be more to your liking than the bdf-unifont one mentioned elsewhere in this document)

  • Displaying non-legible fonts

    I assume that in the process of organizing font sets I somehow managed to affect Mail. Now the To, From, and Subject titles are using a numerical font set.
    I can change the message fonts within Preferences>Fonts & Colours, but none of these pref's allow me to correct the problem.
    I can only conclude that I have removed the font, but it would help if I knew where to start.

    The following article should allow you to identify and solve the problem:
    Font Management in Mac OS X Tiger and Panther

  • LabVIEW 7 for Linux can not display non English character

    Hello,
    Unsing LabVIEW 7 under SUSE Linux 10, I find that when input Chinese character to a string control , it just can displays a corrupt strings. Anyone knowing how to resolve the problem ? Thanks.
    David

    Hello David,
    I had the same kind of trouble with polish characters... more informations on that thread :
    http://forums.ni.com/ni/board/message?board.id=170&message.id=141107#M141107
    Let me just point out that it did not solve all my problems but it helped me. Besides, I don't know if that will work on Linux ... Good luck
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

  • Missing Unicode font in Character Viewer

    The OS 10.6 Character Viewer has a View menu from which one can select the Glyph mode then select a font from the Font menu. How can I get Lion's CV to display my Unicode font and allow me to insert its characters into documents?

    jkent4mac wrote:
    The CSTwo and CSThree fonts are from the ChordSymbol2 family. They were developed by John Clelvenger and are sold through The Virtual Conservatory (www.virtualconservatory.com).
    Thanks for that info!  I found a character map at
    http://www.wix.com/virtualconservatory/home#!menu/vstc1=character-maps
    It's a bit odd they would call these "unicode" fonts, since they replace almost all the required unicode glyphs with specialized music symbols.  Normally they would be called "non-unicode" unless they put all that into the Private Use Area.
    Glad you were able to solve your problem!

  • How to Copy a Non-unicode ECC 6.0 SR3 to WIN2008 and MSSQL2008

    Good morning,
    how can I make a homogeneous system copy of my NON-UNICODE ECC 6.0 (Nw 7.0 SR3) to a new machine running Windows  Server 2008 and MSSQL 2008?
    According to OSS note 1152240 to install SR3 on SQL2008 I have to generate and use  a "SR3 modified installation master DVD".
    My problem is that SR3 installation disk doesn't allow non-unicode installations.
    Can I use SR2 installation disk, and modify it the some way I should do with SR3 installation disk?
    Note 1054740 says "SAP products prior to NetWeaver 7.0 SR3 are not supported on Windows Server 2008", but I would
    not run the SR2 system, just perform the installation and copy my "SR3 database" back. This should not be a problem as the
    diference between SR2 and SR3 is at support package level. Is this correct?
    Can the SR2 installation disk be changed in the some way of the SR3 disk, as described on note 1152240, and be used with
    SQL2008?
    Is there any way to move non-unicode ECC 6.0 to WIN2008 + SQL2008?
    Thank you
    Best regards

    Hi,
    If you are copying you can create a NON Unicode system, The installation for NEW systems is only permited for Unicode but if you are using SAPInst for copying your system, then it will ask if you are copying an Unicode system or not and will left it Non Unicode in the Target. So you could copy your system with no problem I´m pretty sure about this because we are running some copies (8 systems) and we have non unicode systems and we are using SR3 master DVD.
    Just do the chages to the master DVD so you could use it on Win2008
    Have a nice day.

  • Unicode character can't display in smartforms.

    Hi everybody!
    When I type some unicode character (like ổ ữ...) into a text in smartforms, that character can't display it converted to "?". I don't know how to display it.
    Thank!

    Make sure you use Cyrillic fonts for displaying unicode characters.
    Mostly, if you preview this character on non-unicode enable printer it may display as junk character.
    Close the thread once your question is answered.
    Regards,
    SaiRam

Maybe you are looking for