SunGraphics2D doesn't display korean characters in JDK 1.5.0_17

Hi all
I'm trying to paint a text. Some characters are Korean.
private void fill(Graphics2D g) {
     g.fill(shape);
}where g is SunGraphics2D.
If the text to render is:
"#한국어/조선말#"
this only paints
However, if I build my application with JDK1.6_17 without changing anything all characters are painted.
Could somebody suggest me a workaroung or something to make this work in JDK 1.5.0_17 ?
Thanks in advance

Hi Peter!
Of what type is your item? Display as text or do you use the item value for further computations.
If it is only for means of displaying the correctly formatted number, I'd change the item source to a query and would equip the desired column with a to_char function like:
select to_char(str_be_main, 'fm999G999G990D00') from yourtable where ...You could also use a post calculation computation and enforce the format there:
to_char(:P2027_YOUR_ITEM,'fm999G999G990D00')Maybe this helps!
Brgds,
Seb
Edited by: skahlert on 11.02.2011 07:53

Similar Messages

  • Displaying Korean Characters on my jsp

    I would like to display korean characters in my jsp....the characters that i want to display are read from an xml file using the sax parser... how will i do this?

    Case 1 - In a JSP only.
    In a JSP you need to set the following and it will display your respective charset. Substitute xxx for your required character set.
    <%response.setContentType="charset=xxx"%>.
    Case 2 - In an XML file and JSP
    If you have an XML file, be sure to define the encoding. Be sure to change the encoding to your Korean charset.
    <?xml version="1.0" encoding="ISO-8859-2"?>
    You will the need to write an XSL which you can apply to your XML file using Xalan and output the resulting HTML in a JSP. I assume your user-agent will be a web browser, although you can use WML, cHTML and VoXML or even another XML file.
    Rajesh Thiharie
    New Delhi, India
    91 124 6455511 x 109 Work

  • Onscreen keyboard doesn't display all characters in QWERTY mode in iOS7

    Since installing iOS7, the onscreen keyboard has been sluggish.   Tonight, all of a sudden, the onscreen keyboard doesn't display all characters on the keys in QWERTY mode - only the B, N, comma, and period keys show their characters on their key face.  All of the other white keys are blank.  When you press one of the blank keys, the character does display on the key face momentarily and does show in the text box that you are typing in.   This only seems to occur in QWERTY mode.  If you switch to QWERTZ or AZERTY software keyboard layouts, the keys do display their characters on their key face.  If you split the keyboard in QWERTY mode the all keys display normally.  This occurs in any application.
    We've tried:
    Turning off and turning off
    Resetting by holding the sleep/wake and home button
    Settings->General->Reset->Reset All Settings
    Nothing has worked so far...  Help!

    Thanks Carolyn, we are going to try and 'Restore the iPad' tonight.  We went to an Apple store this afternoon - they haven't seen this before and suggested the same thing, to try and 'Restore the iPad'.
    Here is an image just to be clear about what the issue is - in this example we are in Safari, trying to type a url:

  • GetAvailableFontFamilyNames doesn't display Korean tcc font

    I developed an application in Swing that displays text. On PC's with Windows XP language set to English I can see Korean characters displayed well. On the same PCs with language set to Korean, those characters are not displayed.
    Debugging this code:
    GraphicsEnvironment ge = GraphicsEnvironment
                        .getLocalGraphicsEnvironment();
              String fontNames[] = ge.getAvailableFontFamilyNames();I see that font gulim.tcc is not returned by getAvailableFontFamilyNames() if I set the Windows language to Korean. It is the only tcc font type that I have, however the rest of fonts which are all ttf are returned by that method.
    Can anybody help about this?
    Thanks in advance
    Iñaky

    I keep on testing. The following code
    public class Fonts {
         public static void main(String[] args){
             try{
                   String[] f = java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames();
                   for (int i = 0; i < f.length; ++i) {
                        System.out.println(f);
              } catch (Exception e){
                   System.out.println("e:"+e);
    - With Java 1.5_17 - Windows XP in English: it takes Gulim font
    - With Java 1.5_17 - WIndows XP in Korean: it doesn't take Gulim font
    - With Java 1.6_17 - Windows XP in Korean: IT TAKES Gulim FONT.
    So it seems an issue with the JVM.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • PO Document (View Document) does not display Korean Characters

    Hi,
    We have a situation here. In Production, the asian characters are not being displayed in PO Document
    Navigation: Purchase Orders - > Inquire -> View Document
    Surprisingly, a cloned environment of PROD displays the asian characters fine. Has anyone come across a similar issue?
    This uses the XML Publisher template stylesheets. Both PROD and QA have the same style sheets. The template is setup with language as Korean.
    It would be great if anyone can please guide me troubleshoot this issue and identify the cause.

    Thanks for your response.
    I did check the fonts under $OA_JRE_TOP/jre/lib/fonts and $AF_JRE_TOP/jre/lib/fonts folders in both QA and PROD environments.They are identical and albany fonts do not exist under them. But Korean characters are visible in PDFs generated under QA but not in PROD.
    Is there a profile option set to guide XMLP to a folder for fonts? Please let me know.
    Also, the JDK upgrade happened a couple of weeks before and PROD is pointing to JDK 1.5 but QA is still pointing to JDK 1.4 (cloned from a copy week earlier from PROD upgrade).

  • How do I get the keyboard viewer to display Korean characters

    I am trying to set up my Mac so that I can type in Korean. I followed the instructions here: http://www.foolsworkshop.com/120b/koreanmac.html.
    After adding all the Hangul input methods under the International control panel, I have the flag language menu on the menu bar that lets me switch between typing in English and Korean.
    So far so good, but now I'd like to see a layout of where the Hangul characters are on the keyboard, so that I don't have to guess. The above link says that I can see this by selecting Show Keyboard Window from the language menu. If I select this, however, it brings up a picture of a keyboard with Roman characters on the keys. How do I get it to display a picture of a keyboard with Korean characters?

    Bleech. That's exactly the kind of unpolished UI sloppiness that Apple makes such a big deal about not having. I think the dorky-but-lovable PC guy from the TV ads gets a pass to chew out the insufferably smug Mac hipster guy in Korean.
    Seriously, though, I tried that and it works. Thanks for the tip.

  • Reports Builder - problem displaying Korean characters

    Client-server setup (database 10G unicode AMERICAN_AMERICA.AL32UTF8, client Windows XP AMERICAN_AMERICA.WE8ISO8859P1) and users have no trouble viewing characters in the application using forms.
    But running the reports through Reports Builder creates inverted question marks instead of Korean characters. The reports are not displayed on the screen, but saved into *.csv file on the server.
    My question:
    1. Is Reports Builder Unicode compliant?
    2. If yes - where and how do we set up the correct NLS_LANG?
    3. If not - what is the solution?
    Thanks, Veronika

    But running the reports through Reports Builder
    creates inverted question marks instead of Korean
    characters. The reports are not displayed on the
    screen, but saved into *.csv file on the server.Is the Windows where you run Reports Builder Korean? What is the Windows Code page (ACP)?
    What version of Reports Builder / Developer Suite?
    You are not running the same report through a Reports server?
    In a general sense, for oci apps, there's a conversion from database character set to client character set when retrieving the data (to match client environment/locale), and likewise a conversion to the database character set when storing character data.
    With Korean (Hangul) characters in the db, these characters should be converted to replacement character such as inverted question mark (¿) when retrieved to a client with character set Latin-1 (iso 8859-1) - since its repertoire includes no Korean characters.
    So, if the client side os is code page 949, you could try indicating a client character set of KO16MSWIN949. (You could try also by "lying" if the code page is different, but then you need to take care to set NLS_LANG as needed as it might affect other apps.)
    Also, read this chapter of the Globalization Support Guide:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/ch2charset.htm#i1006750

  • ITunes can't display Korean characters

    Hello
    I recently bought a macbook pro and I tried to move all my music in my pc itunes to itunes in this computer but most of the titles that contain korean characters show up as weird symbols..
    what i did was i used an external hard drive to move music from my pc to this computer. Although there was no problem moving it, when i added the folder that contained all the music to itunes weird symbols were displayed for the titles... does anyone no a solution for this? Help would be appreciated thank you

    You may need to convert your id3 tags to unicode, this app may help:
    http://www.macupdate.com/app/mac/15953/id3mod

  • [Solved] TTY doesn't display special characters correctly

    Hello everyone.
    I want to set my system language to german. I followed this tutorial: https://wiki.archlinux.de/title/Arch_Li … .BCber_HAL
    Everything works good except that my TTY can't display special characters. Example:
    http://i.imgur.com/ZW6kbOS.png
    The is " not showing correctly at the bottom. However, the german umlaut ä works (as you can see).
    I have already searched the arch forum. The only thing i have found is setting DAEMON_LOCALE="yes" in rc.conf. However, these post are already quite old and don't solve the my problem (as öäü are working). Additionally, Arch has stopped using rc.conf.
    So, what causes this problem and how can i solve it?
    Here are my configs:
    /etc/locale.conf
    LANG=de_DE.UTF-8
    LC=
    locale -a
    C
    de_DE.utf8
    en_US.utf8
    POSIC
    locale
    LANG=de_DE.UTF-8
    LC_CTYPE="de_DE.UTF-8"
    LC_NUMERIC="de_DE.UTF-8"
    LC_TIME="de_DE.UTF-8"
    LC_COLLATE="de_DE.UTF-8"
    LC_MONETARY="de_DE.UTF-8"
    LC_MESSAGES="de_DE.UTF-8"
    LC_PAPER="de_DE.UTF-8"
    LC_NAME="de_DE.UTF-8"
    LC_ADDRESS="de_DE.UTF-8"
    LC_TELEPHONE="de_DE.UTF-8"
    LC_MEASUREMENT="de_DE.UTF-8"
    LC_IDENTIFICATION="de_DE.UTF-8"
    LC_ALL=
    /etc/vconsole.conf
    KEYMAP=de-latin1-nodeadkeys
    Note that i am running Arch as guest in a VirtualBox.
    -- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --
    Last edited by Oznerol256 (2013-11-01 09:49:08)

    I'm pretty sure you have to specify font and font map in vconsole.conf
    like so:
    FONT=Lat2-Terminus16
    FONT_MAP=8859-2
    If that doesn't help it could be this.
    If so try to load settings manually, I can't test German setup, but for Polish I could do this to get national characters:
    loadkeys pl
    setfont Lat2-Terminus16 -m 8859-2
    that requires to be root/sudo
    note that -m 8859-2 part is quite important
    edit:
    actually got all German symbols to be displayed correctly, though I do not know if they are assigned for right keys for obvious reasons
    loadkeys de-latin1-nodeadkeys
    setfont Lat2-Terminus16 -m 8859-2
    read read topic in then link to hopefuly fix why settings are not loaded on boot
    Last edited by nutsh (2013-10-31 02:47:48)

  • Firefox doesn't display all characters on a webpage

    Firefox doesn't display all the characters in web pages...usually they are symbolic links to other web pages and display as a small black box with 4 numbers/characters inside the box.......

    Type '''about:preferences#content'''<enter> in the address bar.
    Across from '''fonts and colors,''' press the '''Advanced''' button.
    On the bottom, turn on '''Allow Web Sites To Choose Their Own.'''
    Separate Issue;
    Your System Details shows;
    Installed Plug-ins
    Shockwave Flash 17.0 r0
    Shockwave Flash 15.0 r0
    and
    1Password 3.9.20 ([email protected])
    1Password 4.3.1 ([email protected])
    Having more than one version of a program may cause issues.
    Flash;
    Grab the uninstaller from here:
    '''[http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-windows.html Uninstall Flash Player | Windows]'''
    '''[http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-mac-os.html Uninstall Flash Player | Mac]'''
    Then reinstall the latest version.
    Flash Player '''Version 17.0.0.169<br>https://www.adobe.com/products/flashplayer/distribution3.html'''

  • Dock doesn't display international characters correctly

    The language on my MBP is set to Swedish. Yesterday I noticed that the Dock replaces the letter "ö" in the Preview application ("Förhandsvisning") with a long line of backslashes (stretching over half the screen) and "U00f6". The only place where this problem appears is in the Dock, and only for Preview as far as I've seen. The "ä" in Downloads ("Hämtade filer") is displayed properly. Could this be an encoding issue related to the Dock or to Preview itself?
    Seems like I was too quick posting, sorry. Removing the icon from Dock and restarting Preview resolved the problem. Restarting the computer did not.
    Message was edited by: idajos

    I'm pretty sure you have to specify font and font map in vconsole.conf
    like so:
    FONT=Lat2-Terminus16
    FONT_MAP=8859-2
    If that doesn't help it could be this.
    If so try to load settings manually, I can't test German setup, but for Polish I could do this to get national characters:
    loadkeys pl
    setfont Lat2-Terminus16 -m 8859-2
    that requires to be root/sudo
    note that -m 8859-2 part is quite important
    edit:
    actually got all German symbols to be displayed correctly, though I do not know if they are assigned for right keys for obvious reasons
    loadkeys de-latin1-nodeadkeys
    setfont Lat2-Terminus16 -m 8859-2
    read read topic in then link to hopefuly fix why settings are not loaded on boot
    Last edited by nutsh (2013-10-31 02:47:48)

  • Safari suddenly doesn't display Unicode characters in fields

    I'm running OS 10.6.3, and I've just upgraded to Safari 4.0.4 (along with the most recent system update).
    Suddenly, in the fields in many web pages, if I insert or type text in other languages, particularly Central European, Safari displays only a blank space where the foreign characters should be. This happens on some sites, but not on others. For example, in this box I can enter ř, ý or ž, and I can see them. However, on other sites (such as Google Translate), I just get those empty spaces.
    This is a totally new problem on my system. I first noticed it in Firefox a couple of upgrades ago, but now the problem has started in Safari with its upgrade. I have gone into preferences and adjusted the fonts for Unicode and Central European, but it doesn't do any good.
    This is a serious problem for me, because my business relies on being able to use foreign languages.
    Thanks for any advice.

    HI,
    I've just upgraded to Safari 4.0.4
    Safari's latest versoin is 4.0.5
    Try deleting the Safari .plist file.
    Go to the Safari Menu Bar, click Safari/Preferences. Make note of all the preferences under each tab. Quit Safari. Now go to ~/Library/Preferences and move this file com.apple.safari.plist to the Desktop. Relaunch Safari. If it's a successful launch, then that .plist file needs to be moved to the Trash.
    Carolyn

  • Flash chart doesn't display cyrillic characters

    Hi !
    Please give me you advise to solve my problem...
    I tried to write X-axis labels on 2D-column chart using Cyrillic characters.
    If I set "Labels Rotation" to a value more than 0 chart does not display labels. If labels consists of Cyrillic and Latin characters then only Latin characters are displayed.
    Please help me to resolve this issue.
    Best regards,
    Renat.

    That is possible.
    The rotation functionality within html, if I understand it correctly, actually generates a graphic and rotates that rather than rotates the individual characters. It could be that this functionality just isn't designed for the characters you need.
    This may be something you need to research on Adobe's website?
    Andy

  • Netscape using plugin doesn't display Japanese characters in a tree node

    Hi,
    I have a problem displaying a swing tree node name in Japanese. The problem only occurs on Netscape browsers. When I run the same applet with Internet Explorer, all the Japanese displays correctly. Now, with Netscape, the node name is displayed in little rectangle characters but the tooltip is displayed in Japanese. I don't believe I have any problem with the Java code because it works with IE.
    I am using the java 1.3.1_01 plugin on a Windows NT machine that has a Japanese OS. I've also installed Japanese versions of Netscape. Also, Netscape is able to display my help files in Japanese correctly, so I am wondering if the problem is with the java plugin.
    Any clues?
    Many thanks

    Found the problem. I set a font type of Arial. It's best to set the type to MS Gothic, or dont' set it at all so the system default font is used.

  • FireFox doesn't display special characters!

    I'm sure this has been talked about before but I can't find
    any related posts... Basically I have a flash app that will take a
    text variable through the querystring and disaply, the problem is
    it needs to take 11 different languages which works fine in IE once
    all the special glyphs for the languages are embedded. But in
    Firefox it displays only standard ascii latin characters! Please
    help!

    Hi Rifaet,
    Good news. There is a simple way to fix the FireFox special
    character problem. Use and external .js file to store a function to
    write the embed tag and it will work, it has the added bonus of
    fixing the new 'problem' with internet explorer also.
    myFlash.js
    function writeflash() {
    document.write ('<embed..... usual flash tagset
    and then in your HTML document where the embed tag previously
    was you just place:
    <script>myFlash();</script>
    See how to do it here, the first example is easy
    http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/overview/activati ng_activex.asp

Maybe you are looking for