NOTE: This material does not necessarily refer to the most recent version of Java. For the most recent FAQs, see here.
font.properties
- The document Adding Fonts to the Java Runtime JDK 1.2
states that "font.properties.zh_EUC_CN.5.7" is provided by the JDK, but I
cannot find any properties files that end with 5.7. Can you help me find
this file, as I am having trouble running applications on Chinese Solaris 7?
- I'm trying to write a GUI that displays a text field in Russian but
all I'm getting is garbage displayed. I can toggle between English and Russian
keyboard in my e-mail and wordprocessor, but when I toggle to Russian and try to type in my text field in my Java
application, all I get is garbage. Can you help me with this?
- How do I distribute fonts with my application without asking end users to
edit their font.properties file?
- What exactly are Physical Fonts?
Resource Bundles
- I have been reading the JDK 1.1 internationalization rules and
there is some ambiguity. Can you tell me what encodings Properties and PropertyResourceBundle understand? ISO 8859-1 seems to work on my Mac, so does this mean
that the whole UTF-8 will work?
- I have developed a Java application that uses Locale and Resource Bundles to internationalize my application. It works fine for most languages where I
have an ASCII based properties file for each language. My problem is that this does not work
for Chinese, as Chinese characters cannot be stored in an ASCII file. Can you tell
me some other way to localise my application for Chinese?
- Are there any plans to allow properties files to be in other encodings?
font.properties
- The document
Adding Fonts to the Java Runtime JDK 1.2
states that "font.properties.zh_EUC_CN.5.7" is provided by the JDK, but I
cannot find any properties files that end with 5.7. Can you help me find
this file, as I am having trouble running applications on Chinese Solaris 7?
- font.properties.zh_EUC_CN.5.7 does not exist in java software ref
implementation, font.properties.zh_EUC_CN should work for
2.7 zh locale.
Are you sure the font
-sun-song-medium-r-normal--*-%d-*-*-c-*-iso8859-1
is installed in your env (check your xset setting)? You may ask JTG
guys if you are talking about Solaris product release.
The document mentioned in your question is out of date, at least regarding
the naming space of the font.properties file.
Resource Bundles
Back to Question Category Page.
|