Help:I can't get correct display

I write a program with java, and some chinese word string are used.
when it runs on platform win2000, all is right.
but, when I run it on redhat9, I can't read them strings why?
what should I do to correct it?

Hi,
Open the directory <sdk-installation/jre/lib. There are several files that start font.properties. Open the most applicable one (font.properties.zh_CN.Redhat probably). What font families are used?
(I have 1.4.2 too and it says zysong18030 but these things may vary from build to build.)
Do you have those fonts installed? (xlsfonts | grep -i fontname)
If not, have you installed the Chinese font pack? ttfonts-zh_CN, I believe... if you don't have the installation CDs you can fetch the RPM from http://rpmfind.net
(I use fedora core 1 which is kind of redhat, and made a small test program and noticed the same problem: it can't show Chinese text. I found out that I don't have the zysong18030 font installed, so I downloaded and installed ttfonts-zh_CN but that didn't contain zysong18030 either but some different fonts. But I also have font.properties.zh_CN.Redhat2.1 in my jre/lib, and when I looked at it I saw it uses the fonts I just installed with ttfonts-zh_CN. So I moved font.properties.zh_CN.Redhat2.1 to font.properties.zh_CN.Redhat, tried the test program again, and now it could show the text.)
There's more info on font.properties at http://java.sun.com/j2se/1.4.2/docs/guide/intl/fontprop.html

Similar Messages

  • I have an ut ipad 2 with no configuration for the i cloud. I have follow the instructions of synch the ipad with itunes v 10.6 in my pc, but i can not get the display of the cloud icon in the general settings of the ipad. appreciate any help

    I have an ut ipad 2 with no configuration for the i cloud. I have follow the instructions of synch the ipad with itunes v 10.6 in my pc, but i can not get the display of the cloud icon in the general settings of the ipad. appreciate any help

    I'm asking because ios5 introduced iCloud. You have to have updated to ios5 to see it.

  • How can I get Sender Display Name using Get-MessageTrackingLog?

    Hi, could you please help me. We have got a monitoring system at work which monitors some devices, so if something wrong happening with these devices email is sent from MASTER email (Customer Name <[email protected]>) to us. I'm trying to get a list
    of all emails of that monitoring mailbox using PoweShell command
    Get-MessageTrackingLog and export them to CSV file. In the end of the day I need CSV file with 3 columns: TimeStamp, MessageSubject and SenderDisplayName! Yes, I need Sender Display Name cause all emails are sent from one MASTER email
    (Customer Name <[email protected]>) and only difference between them is sender Display Name which is cexactly what I need.   
    This is the code I'm using:
    Get-MessageTrackingLog -EventId Receive | Select Timestamp, MessageSubject, Sender | Export-CSV C:\NagiosAlerts.csv
    –NoTypeInformation
    So how can I get sender Display Name(Customer Name) using Get-MessageTrackingLog insted of Sender email (<[email protected]>)? 

    The DisplayName is not recorded in the Logs only the EmailAddresses are so there Is nothing you can do with Message Tracking to get this the way you want. You need to look at another property may soureIP or include something in the Subject
    of the Email (eg a customerId in the Subject is a much better option) to give you some differentiation. Otherwise you need to access the Email directly from the Mailbox it was sent to and then extract the DisplayName from the message (or use a journaling
    on those emails etc)
    Cheers
    Glen

  • I bought a $15 app GTA Vice City a while ago and I just started using it and it doesn't work. I checked all the requirements and my laptop meets all of them. I also have contacted Rockstar Games and they didn't help. Can I get my money back? Its annoying.

    I bought a $15 app GTA Vice City a while ago and I just started using it and it doesn't work. I checked all the requirements and my laptop meets all of them. I also have contacted Rockstar Games and they didn't help. Can I get my money back? Its frustruating.

    Hi...
    Apple's policy states that, "all sales are final" >  iTUNES STORE - MAC APP STORE - TERMS AND CONDITIONS
    But since you are not getting any help from the developer, you can use the email form to contact Apple and ask for a refund >  Apple - Support - Mac App Store - Contact Support.
    No guarantees.

  • I have adobe CS 5.1 and recently (after an update) it is giving me an error (Could not save...because of a program error) every time I try to save my work as a PDF   Help how can I get this resolved??

    I have adobe CS 5.1 and recently (after an update) it is giving me an error (Could not save...because of a program error) every time I try to save my work as a PDF>  Help how can I get this resolved??

    Run the cleaner, reinstall.
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    And don't bother with running any updates unless you really need them or they fix a critical issue relevant to your workflow.
    Mylenium

  • For updation of IOS 7.1.1 passcode required,I forget my passcode please help how can I get my passcode

    Hello,
    I forget my passcode please help how can I get my it

    You will need to try to restore your iPad from the same computer that you most recently synced to.
    Read this: http://support.apple.com/kb/ht1212
    If you can't do the restore then you will need to try Recovery Mode.
    Read this: http://support.apple.com/kb/ht1808
    Follow the instructions very carefully.

  • HT1338 Help I can't get Java to down load to my Mac version 3.06 I have did the soft ware up date ?

    Help I can't get Java to down load !

    Hello BROitsJAMIE,
    Thanks for using Apple Support Communities.
    I'd like you to please follow the troubleshooting in the article linked to below in order to resolve this issue with your Mail.
    OS X Mail: Troubleshooting sending and receiving email messages
    Take care,
    Alex H.

  • How can I get a stripped screw out of the bottom of my iPhone?? I need help, How can I get a stripped screw out of the bottom of my iPhone?? I need help

    How can I get a stripped screw out of the bottom of my iPhone?? I need help, How can I get a stripped screw out of the bottom of my iPhone?? I need help

    Try asking at ifixit.com. The iPhone is not considered user servicable. You're not going to get much help on an Apple sponsored forum.

  • How can I get a display of all running programs in lion like I used to get when I did a 4 finger swipe in snow leopard?

    how can I get a display of all running programs in lion like I used to get when I did a 4 finger swipe in snow leopard?
    I liked to turn off running programs without a window that I was no longer using
    thanks.
    Best I can do now is to open the "force quit" window and click on programs I want to stop and then send each one a "command-Q" and then repeat as necessary
    Jeff

    Command + Tab is what you are after i think

  • How to view movies and iplayer programmes on full screen on the new iPad, can only get letterbox display.

    How to view movies and iplayer programmes on full screen on the new iPad, can only get letterbox display.

    If the Movie is IN wide screen you Got 2 options
    1 letterbox display
    2 display where it Cut the left and right side part to make it fit

  • Can't get correct fault infomation

    can't get correct fault infomation
    i use xfire to provide webservices
    my soap message is :
    <soap:Envelope xmlns:soap="
    http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="
    http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="
    http://www.w3.org/2001/XMLSchema-instance">
    <soap:Body>
    <soap:Fault>
    <faultcode xmlns:ns1="
    http://auth.ws.laccore.legendapl.com.cn">ns1:no_auth</faultcode>
    <faultstring>No Authentication</faultstring>
    <detail>
    <message xmlns="
    http://auth.ws.laccore.legendapl.com.cn">No
    Authentication</message>
    <code xmlns="
    http://auth.ws.laccore.legendapl.com.cn">no_auth</code>
    </detail>
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>
    but in actionscript i got the following fault infomcation (by
    trace() ):
    [RPC Fault faultString="HTTP request error"
    faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent
    type="ioError" bubbles=false cancelable=false eventPhase=2
    text="Error #2032:
    娴侀敊璇€?URL:
    http://localhost:8080/pc/services/PCAWebService"
    URL:
    http://localhost:8080/pc/services/PCAWebService"

    I recall reading that the problem is that the web service
    returns a 500 and the Flash Player stops trying to return data. If
    you can make the web server return a 200 instead, you can get the
    soap fault data.
    Try google for more detail.
    Tracy

  • Please help I can't get my MAC G4 garageband to talk to my M-Audio interface correctly so I can hear see anything register on Garageband

    I can't get my MAC G4 garageband to talk to my M-Audio interface correctly so I can hear see anything register on Garageband

    I have the M-Audio 1 n 1 interface and yes the Instrument panel shows up when I open garageband but i can't get audio to play outboard i see the indicators light up and the volume pids moving but no sound i can hear

  • HT1379 Help! can´t get 2560 resolution in dell 2711 on macbook pro retina late 2013, only 1920...

    can´t get 2560 resolution in dell 2711 on macbook pro retina late 2013, only 1920...i have the apple thunderbolt to dvi adapter and the dual dvi cable...
    thanks for any help

    http://www.everymac.com/systems/apple/macbook_pro/specs/macbook-pro-core-i7-2.3- 15-dual-graphics-late-2013-retina-display-specs.html
    says:
    Dual/Mirroring*
    2nd Max. Resolution:
    2560x1600 (x2*)
    Details:
    *This model supports a simultaneous maximum resolution up to 2560x1600 on two external displays via Thunderbolt. Alternately, it can support a single display up to 2560x1600 via Thunderbolt and a single 1080p display at up to 60 Hz, 3840x2160 at 30 Hz, or 4096x2160 at 24 Hz via HDMI. Also see: How many external displays can the Retina Display MacBook Pro models support? What is the maximum supported resolution of each? Are adapters required?

  • Help! Can't get network to work

    I have Solaris 10 installed and running smoothly.. except I can NOT get my NIC card working. I swear it's harder to configure networking on Solaris than anything i've ever delt with. I have a 3COM 3C450 PCI NIC card, how do I know if Solaris has the drivers for this card installed, how do I install them, and how do I configure my IP address? I'm definetly not a Unix newbe, I've worked with Irix and AIX for many years, but this is extremely frustrating.
    Thanks

    Hello
    First step:
    Check if the driver is running correctly. Type in "<b>/usr/sbin/prtconf</b>" or "<b>/usr/sbin/prtconf -v</b>".
    This command prints information about all devices in the system and if the device is recognized by a driver or not (a message "Driver not attached" is shown if not). The "-v" variant shows more detailed information (you will get a huge number of lines).
    Second step:
    Find out the name of the network card (example: /dev/hme0). Unlike Linux the ethernet cards do not all have the name /dev/eth* but different types of cards have different names (/dev/le*, /dev/ce*, /dev/hme*, ...).
    Third step:
    Test the card once:
    Type
    <b>ifconfig <i>name</i> plumb</b>
    <i>name</i> is the name of the network card without "/dev/"; example:
    <b>ifconfig hme0 plumb</b>
    The card is recognized as network card by the system. Then type:
    <b>ifconfig <i>name</i> <i>IP_address</i> up</b>
    Example:
    <b>ifconfig hme0 12.34.56.78 up</b>
    The card is assigned an IP address and started.
    Fourth step:
    Installing the card in the configuration files:
    Add an IP address - host name pair for your computer in the /etc/hosts file.
    Then type
    <b>echo <i>my_host_name</i> > /etc/hostname.<i>cardname</i></b>
    Example:
    <b>echo mycomputer > /etc/hostname.hme0</b>
    Then reboot the computer.
    Using DHCP is a bit more complex.
    Martin

  • Help I can't get iTunes to install on my computer

    My husband just bought me my first iPod for our anniversary present. For the life of me now matter what I try with the troubleshooting tips I can't get iTunes + Quicktime to install properly. It will stall at 'Registering iTunes automation server' then pop up with the error 'iTunes cannot run because some of its required files are missing. Please reinstall iTunes.' I have completely removed iTunes and QuickTime multiple times and tried to install. This still doesn't work. I have tried installing QuickTime 7.2 as mentioned by another post, but it just says I already have a newer version on my computer, even though I thought I had removed the program. Does anyone else have any other recomendations? This is so frustrating. Why doesn't Apple have an 800 number to call for help?!

    +This still doesn't work. I have tried installing QuickTime 7.2 as mentioned by another post, but it just says I already have a newer version on my computer, even though I thought I had removed the program.+
    Download and install the Windows Installer CleanUp utility. then use it to clear any existing QuickTime installation configuration information from your PC. (Run the Utility ("Start > All Programs > Windows Install CleanUp"), find any QuickTime entries in the list of programs that appear in CleanUp, select the QuickTime entries, and then click “Remove”.)
    Description of the Windows Installer CleanUp Utility
    Next, we’ll manually remove leftover program files and folders (Some or all of these may already be gone).
    1. On the Start menu, click My Computer (or double-click My Computer on the Desktop).
    2. In My Computer, open Local Disk.
    3. Open Program Files.
    4. Right-click on the QuickTime folder and click Delete from the shortcut menu.
    5. Navigate to C:\Windows\system32\.
    6. Remove the files QuickTime.qts and QuicktimeVR.qtx. (If “Hide filename extensions for known file types” is enabled on the PC, then those two files will appear as “QuickTime” and QuickTimeVR”.)
    7. Restart your computer.
    Now try another QuickTime 7.2 install. Does it go through properly this time?

Maybe you are looking for