Displaying Asian Characters/Other Fonts

I'm having trouble trying to display other fonts/asian fonts in my SWING application. I know this has probably be asked to death, but here's my scenario.
I don't want to modify the font.properties file if possible because this is a SWING applet. I'm trying to use the "Arial Unicode MS" font from Windows to display some unicode characters, but all I get is the dreaded square boxes.
I've tried to access the GraphicsEnvironment.GetLocal.... but I get a security error for a missing class (I'm using JRE1.3 on Windows2k).
Here's a snippet of my code:
UIManager.put("Label.font", new Font("Arial Unicode MS", Font.PLAIN, 40));                
JFrame frame = new JFrame("Test Window");
final JLabel label = new JLabel("\u88B9 alcsnjdfd \uBA85\uC554\uBE44");
frame.getContentPane().add(label);
What am I doing wrong?

HI,
this article might help you:
http://www.onjava.com/pub/a/onjava/2001/04/12/internationalization.html?page=1

Similar Messages

  • ITunes 10.1.6.7 update has broken my foreign font display - Asian characters are now squares. How do I fix this?

    The iTunes 10.1.6.7 update has broken my foreign font display - Asian characters are now squares.
    They are fine on my iPhone, copying to other documents & through the Last FM scrobbler, yet iTunes shows songs incorrectly. I've fiddled with the ID3/Unicode settings - nothing changes.
    For example: iTunes shows a bunch of squares, yet when I copy and paste them here it becomes ~  일렉트로보이즈
    This was not a problem earlier - everything was fine in the four years or so I've used iTunes until, I believe, this update. If it was not the update, I'm not sure what else it could be?
    Any suggestions on how to fix this? Thank you!

    Thank you so much! I vigorously searched around these parts and the general internet before posting and found nothing - it's so simple, too
    Hahaha, turns out it was Windows, not iTunes, that broke my font

  • Displaying Asian characters on Solaris platform?

    I have a java application that can display Chinese, Japanese, Korean & Taiwanese (CJKT) on a Windows platform. It is able to display these characters on Windows because i have installed the CJKT locales and have modified the font.properties file to provide the necessary font mappings for the CJKT charsets. But, when i do the same modifications in Solaris (i.e. install the locales & modify the font.properties to provide mappings to various fonts that support the CJKT charsets) and run the application, i am not able to see the CJKT characters. The CJKT characters are displayed as boxes when the application is run in the en_US.ISO8859-1 locale.
    Could someone please suggest what can be done to enable the display of CJKT characters on an ISO8859-1 locale?
    It seems Solaris has locale-specific font installation. Is there any way a font from one loacale (say japanese) can be used in the other i.e. system locale (say korean) to display characters of the first locale (japanese)?

    Thanks, but it does not answer the question.
    I already have the required locales installed. It is just that i'm not able to display Asian characters on an English locale. I am using the Java logical font (serif), and the font.properties does map it to the various fonts that support the CJKT (Chinese, Japanese, Korean & Taiwanese) charsets, but still the application is unable to display the CJKT characters. It seems that java makes use of the X11 fonts and they happen to be installed in separate directories, one for each locale. This could be the reason why the other fonts are not available in the ISO8859-1 locale.
    Is there any way we can map use the fonts of other locales by making use of the java logical font?

  • New iTunes update (10.6) not displaying asian characters correctly.

    Just updated my iTunes to 10.6 and the new version is not displaying the asian characters in the artist or song titles. They are appearing in the album. Have restarted my computer multiple times.

    Same issue going on for me. Like daskaea said, it doesn't show up in the album grid, but shows up fine everywhere else. I personally am encountering this issue for Chinese, Japanese, and Korean scripts.
    Attempts to clear the name and re-enter it manually also do not work.
    Anyone have any ideas?

  • Itunes not displaying asian characters correctly

    my song collection tags will display just fine when i'm just browsing files through finder.
    however, when i import these songs to itunes, characters are all garbled up when it is in asian characters like korean and japanese..
    is there a way to fix this?
    in windows machine this is not a problem.

    Same issue going on for me. Like daskaea said, it doesn't show up in the album grid, but shows up fine everywhere else. I personally am encountering this issue for Chinese, Japanese, and Korean scripts.
    Attempts to clear the name and re-enter it manually also do not work.
    Anyone have any ideas?

  • [solved] "monospace" font displayed as some other font

    For some reason (that I am unable to figure out for myself), the "monospace" font on my system is not displayed as such, but replaced by some other font, presumably* by the last one installed to the system. See this screenshot of uzbl-browser as an example; leafpad's font-selection dialog would be another.
    * A while back (don't remember when) "monospace" started being displayed as some pleasant sans-serif font, which I did not investigate. When I installed some blackletter fonts (ttf-unifraktur) recently, it started being displayed as one of them, which is more of a nuisance, see screenshot.)
    What could be going on here? What is the "monospace" font anyway?
    Last edited by Franek (2014-02-27 20:54:20)

    First: I probably should have mentioned that I am using the infinality-bundle and infinality-bundle-fonts repositories.
    (Re-)Installing ttf-dejavu instantly made uzbl pretty again. But actually, I did not have ttf-dejavu installed in the first place, but t1-dejavu-ib from the infinality-bundle-fonts repository. When I change back to t1-dejavu-ib, Monospace is displayed as a blackletter font again.
    Here is the output of "fc-match monospace" with ttf-dejavu installed:
    $ fc-match monospace
    DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book"
    And here it is with t1-dejavu-ib:
    $ fc-match monospace
    sawarabi-gothic-medium.ttf: "Sawarabi Gothic" "Medium"
    About this font (which is certainly not the blackletter font I am seeing in uzbl):
    $ pacman -Qs sawarabi
    local/ttf-sawarabi-ib 0.0045-2 (infinality-bundle-fonts)
    Sawarabi font family for Japanese script.
    I have nothing in ~/.config/fontconfig, whereas /etc/fonts/conf.d/ is filled with several symlinks, most of which belong to the fontconfig-infinality-ultimate package. They all look alright to me, or rather: I trust that the infinality-bundle(-fonts) packages are doing the right thing. (Should I ask bohoomil about this?) Here is a list:
    $ pacman -Qo /etc/fonts/conf.d/*
    /etc/fonts/conf.d/10-base-rendering.conf is owned by fontconfig-infinality-ultimate 2.11.0-15
    /etc/fonts/conf.d/10-scale-bitmap-fonts.conf is owned by fontconfig-infinality-ultimate 2.11.0-15
    /etc/fonts/conf.d/30-metric-aliases.conf is owned by fontconfig-infinality-ultimate 2.11.0-15
    /etc/fonts/conf.d/31-fix-cantarell.conf is owned by fontconfig-infinality-ultimate 2.11.0-15
    /etc/fonts/conf.d/35-repl-custom.conf is owned by fontconfig-infinality-ultimate 2.11.0-15
    /etc/fonts/conf.d/40-non-latin.conf is owned by fontconfig-infinality-ultimate 2.11.0-15
    /etc/fonts/conf.d/42-luxi-mono.conf is owned by font-bh-ttf 1.0.3-1
    /etc/fonts/conf.d/45-latin.conf is owned by fontconfig-infinality-ultimate 2.11.0-15
    /etc/fonts/conf.d/49-sansserif.conf is owned by fontconfig-infinality-ultimate 2.11.0-15
    /etc/fonts/conf.d/50-user.conf is owned by fontconfig-infinality-ultimate 2.11.0-15
    /etc/fonts/conf.d/51-local.conf is owned by fontconfig-infinality-ultimate 2.11.0-15
    /etc/fonts/conf.d/65-ttf-noto-sans-ui.conf is owned by ttf-noto-sans-multilang-ib 1.04-2
    /etc/fonts/conf.d/65-ttf-noto-sans.conf is owned by ttf-noto-sans-multilang-ib 1.04-2
    /etc/fonts/conf.d/65-ttf-noto-serif.conf is owned by ttf-noto-serif-multilang-ib 1.04-2
    /etc/fonts/conf.d/68-override.conf is owned by fontconfig-infinality-ultimate 2.11.0-15
    /etc/fonts/conf.d/82-no-embedded-bitmaps.conf is owned by fontconfig-infinality-ultimate 2.11.0-15
    /etc/fonts/conf.d/82-no-force-autohint.conf is owned by fontconfig-infinality-ultimate 2.11.0-15
    /etc/fonts/conf.d/82-no-ttf-as-bitmap.conf is owned by fontconfig-infinality-ultimate 2.11.0-15
    /etc/fonts/conf.d/83-yes-bitmaps.conf is owned by fontconfig-infinality-ultimate 2.11.0-15
    /etc/fonts/conf.d/83-yes-postscript.conf is owned by fontconfig-infinality-ultimate 2.11.0-15
    /etc/fonts/conf.d/88-forced-synthetic.conf is owned by fontconfig-infinality-ultimate 2.11.0-15
    /etc/fonts/conf.d/90-dejavu-t1.conf is owned by t1-dejavu-ib 2.34-4
    /etc/fonts/conf.d/90-non-tt-fonts.conf is owned by fontconfig-infinality-ultimate 2.11.0-15
    /etc/fonts/conf.d/90-opensans-t1.conf is owned by t1-opensans-ib 1.2-7
    /etc/fonts/conf.d/90-tt-fonts.conf is owned by fontconfig-infinality-ultimate 2.11.0-15
    /etc/fonts/conf.d/92-selective-rendering.conf is owned by fontconfig-infinality-ultimate 2.11.0-15
    /etc/fonts/conf.d/93-final-rendering.conf is owned by fontconfig-infinality-ultimate 2.11.0-15
    /etc/fonts/conf.d/94-no-synthetic.conf is owned by fontconfig-infinality-ultimate 2.11.0-15
    /etc/fonts/conf.d/95-reject.conf is owned by fontconfig-infinality-ultimate 2.11.0-15
    /etc/fonts/conf.d/99pdftoopvp.conf is owned by cups-filters 1.0.46-1
    /etc/fonts/conf.d/README is owned by fontconfig-infinality-ultimate 2.11.0-15

  • Itunes won't display Asian Characters (Korean, Japanese, and Chinese)

    For some reason, with the most recent update to iTunes, my library is no longer properly displaying Korean characters. It is instead replacing them with boxes. It was and has worked fine for the longest time and I haven't made any other changes that would affect the language packs with my windows 7 64bit. However, when I play a song in iTunes and I have MSN Messenger running, the messenger will correctly display the current song I'm listening. I'm just hoping that if I sync my iPhone with my library, these characters will not appear as squares there as well. I've seen suggestions for switching my operating system language setting to Korean, but as I'm not completely fluent I'd hate to get stuck not knowing how to navigate my way around because I can't read/understand something. Can someone please find a solution for this.

    I didn't have the problem of showing boxes, but I had a similar problem of the korean characters showing in symbols. To fix, I (1) right clicked on the song. (2) Chose Convert ID3 Tags. (3) Checked "Reverse Unicode" Box, then hit "OK". You can highlight as many songs as you want at once and still perform the same thing, to save you time.
    Hope this helps you.

  • Displaying Asian characters in an AWT applet

    I want to display texts in different Asian languages (Chinese, Japanese, and Korean). The localized texts are correctly displayed by the applet if I use a font like Arial Unicode MS that supports all Asian Unicode characters. But I can not use this font for display the text because even on a Windows PC I can not be sure that this font is available. The alternative seems to be to use language dependent different fonts but I could not find comprehensive Information which font to use with which language. I thought also about the alternative to use a logical font name and adjust the font.properties file but the applet has to work also with the Microsoft JVM and I could not find any information about changing the font.properties for this VM. I also think that not every user of this applet is willing to adjust the font.properties. What is the best solution to support multiple Asian languages in the output of an applet?
    I am new to the problem of localization of Java applets so maybe this question sounds very simple for more experienced programmers.
    Thank you in advance for your help.
    Roland

    mswanson, I sincerely appreciate you posting your
    solution here for all of us to read. However, I
    wouldn't summarize downloading and installing a 24 mb
    font as "doing nothing", as you seem to state here.I could have worded it better. When I said, "do nothing except..." I was refering to the font.properties file. In fact, if you re-read the previous sentence you will see I started it with, "wrt font.properties...". "wrt" means "With Respect To".
    Also, the referenced page does not provide a link for
    downloading the font, as it seems to imply.My posting implied no such thing.
    So, anybody know if this is possible for the Arial
    Unicode MS font or any other comparable font? Any
    other ideas addressing the same problem?The HTML page I linked to contains a paragraph, "Windows 95, 98, 2000, XP, 2003 Fonts" and its first sentence contains a link to get the font - and you can derive all of your legal answers from that link as well (microsoft.com).
    Cheers.

  • Safari displaying unusual characters bad font?

    Network accounts (networked home folders) are not properly displaying text in Safari browser. This is a new build and I did install new fonts, run font book and validation and resolve duplicates from the admin (local) account. And admin works fine. I even used cocktail to wipe the font caches before I created my disk image.
    I've logged in with a network account and ran cocktail and font nuke and font book, nothing resolves the font issue. It is something else??
    Have a look at the problem...
    Let me know what you think.
    Thanks!
    /kt

    Singles --
    This is from Kurt Lang, our resident Font Guru:
    A’s with boxes around them is always a sign of trouble with the main system
    font, Lucida Grande.
    Quick possible fix is to remove ALL font cache files from the system to see
    if it's just bad cache data. For that, you need to use OnyX or other utility
    which will remove both system and user cache files. A Safe Mode boot won't
    work since it only removes cache data from the user account you do a safe
    boot to.
    If after that the problem returns, then Lucida Grande itself is damaged and
    needs to be replaced.

  • [XI R2] Display string characters in font: Wingdings

    Hello,
    My aim is to give the possibility to user to use the Wingdings font on WebiReport. This font is correctly installed and can be used with Wordpad.
    I added the following part in the fontalias.xml file located in this path: ..BusinessObjects Enterprise 11.5win32_x86 onts
    <FONT NAME="Wingdings">
    <FONTFAMILY PLATFORM="ttf" NAME="Wingdings">
    <FONTATTRIBUTE BOLD="false" ITALIC="false" LOGICAL="Wingdings" PHYSICAL="Wingdings.ttc,1;ARIALUNI.TTF"></FONTATTRIBUTE>
    </FONTFAMILY>
    <FONTFAMILY PLATFORM="win" NAME="Wingdings"></FONTFAMILY>
    <FONTFAMILY PLATFORM="java" NAME=" Wingdings, 'Arial Unicode MS'"></FONTFAMILY>
    <FONTFAMILY PLATFORM="html" NAME=" Wingdings, 'Arial Unicode MS'"></FONTFAMILY>
    </FONT>
    But it doesn't work, the font is converted in Arial and not Wingding...
    Have you got any idea? Is it possible?
    Thanks in advance for your help
    Stéphane

    I SOLVE THE PROBLEM.
    BufferedReader dis = new BufferedReader(new InputStreamReader( urlConn.getInputStream(),"SJIS"));     
    "SJIS" - was the key

  • How can I display East Asian characters in MediaSour

    I am using Windows XP SP2 Chinese Traditional (Taiwan) edition, although I li've in the US.
    My system setting is by default Chinese Traditional, and I have enabled East Asian language support for Chinese, Japanese, and Korean.
    However, Creai've MediaSource has trouble displaying such East Asian characters, most of them look like random code.
    At the same time Windows Media Player can display all the music info just fine.
    I have a very large collection of Chinese, Japanese, and Korean music, so this function is very important to me.
    Please help if possible.
    I've read some previous posts about such issues, but most of them seem to involve the English version of Windows which is not in my case.
    Thanks in advance.

    khaidoba wrote:
    I don't know why, but whatever I do, I can't seem to get the East Asian characters to work at all. I tried the control panels stuff, but when I use the "Get Info" thing before ripping a CD in MediaSource, I still get random characters.
    Go to MediaSource's Tools->Settings->Audio CD/Rip setting page. In there, you can then set a language to be used for CDDB info. Just try and error with the different language settings (use CDDB, use OS, or use a specifc language) and one of them will be the correct one. You may need to set a different language setting for different CDs.

  • I use classical Hebrew for my work, and Pages will only display English characters even with a Hebrew font selected. If I cut and paste Hebrew characters from another document, as long as the font is supported, it will appear in Pages.  If I type it won't

    I use classical Hebrew for my work, and Pages will only display English characters even with a Hebrew font selected. If I cut and paste Hebrew characters from another document, as long as the font is supported, it will appear in Pages.  If I type it won't continue in Hebrew.  I have tried downloading several fonts, including those from professional societies, but the only way to get Hebrew in my document is to cut and paste.  Does anyone know how to fix this?  I use an older MacBook running OS 10.9.1.  I used to do my Hebrew work in Word, but it is no longer supported by Mac OS.

    Just clarifying:
    Pages '09 has bad support for Hebrew, Arabic etc but will accept pasted text.
    Pages 5 has much better support but with bugs.
    If you have columns they are in the wrong order ie Text starts in the left column and ends in the right column.
    If you type English into Hebrew text it tends to fall in the wrong position eg instead of to the left of Hebrew punctuation it goes to the right.
    As Tom recommends the only real solution on the Mac is Mellel.
    Peter
    btw Tell Apple, they are amazingly slow to fix this running sore which has been broken since RtoL was supposedly introduced in OSX 10.2.3 over a decade ago.
    Peter

  • Asian characters displaying in my english language PDF.

    This morning I opened a PDF and got a message that I needed to install a language pack.  I installed the asian language pack as requested and when I opened my PDF there were asian characters displaying in my english language PDF.  How do I fix this issue?

    Very difficult to say without seeing the actual PDF.  If it is not confidential, can you share it (or a similar sample PDF) with the forum: https://forums.adobe.com/thread/1408375

  • Itunes just started displaying menus in asian characters.  How can I get back to english?

    Itunes just started displaying menus in asian characters.  How do I get them back to english?

    iTunes: Changing the display language - http://support.apple.com/kb/HT2242 - "Follow the steps below to change the language displayed in iTunes and also the language displayed in the iTunes store."
    Above method did not work but reinstalling iTunes did - https://discussions.apple.com/thread/6798898

  • Firefox is displaying unreadable characters when visiting some websites like digg. The sites work fine in all other browsers. I've tried all encoding options in firefox.

    Firefox is displaying unreadable characters when visiting some websites like digg. The sites work fine in all other browsers. I've tried all encoding options in firefox.

    This issue can be caused by an old bitmap version of the Helvetica or Geneva font or (bitmap) fonts that Firefox can't display in that size.
    Firefox can't display some old bitmap fonts in a larger size and displays gibberish instead.
    You can test that by zooming out (View > Zoom > Zoom Out, Ctrl -) to make the text smaller.
    Uninstall (remove) all variants of that not working font to make Firefox use another font or see if you can find a True type version that doesn't show the problem.
    See also [/tiki-view_forum_thread.php?forumId=1&comments_parentId=566006]

Maybe you are looking for

  • PSE 10 "help" - error message re Adobe Air

    I am unable to access the PSE help within PSE 10.  Each time I get an error message indicating that the problem relates to Adobe Air and that I should re-install it (Adobe Air).  I have tried re-installing both Adobe Air and PSE10 but the problem per

  • What hard drive enclosure to purchase for HP Pavilion dv6000?

    I am trying to find a hard drive case/enclosure for my 2005 HP Pavilion dv6000 laptop.  I want to retrieve all of the data from my hard drive because I can no longer charge the laptop.  I have tried two different types of hard drive enclosure, but ne

  • Photo on full screen

    If I switch to full screen mode in iphoto, I always see on right side this menu: faces, assign a places, data images, data camera, ... I see toolbar menu on bottom see too I read after 4 seconds should have to disappear but I can see always all menu

  • Adobe Shockwave Player 10.2r22

    Just as a heads up... I had to go back to the r21 version cause the r22 version has issues on windows xp pro SP2 VLK

  • Oracle 8i on compatible PC

    hi, all I want to install Oracle 8i on my compatible PC with OS windows2000 server. the setup process became silent without any wrong or alert message appearing after i clicked the setup.exe. I tried to install it from Add/remove program but i got th