Character set issues in the DB2 window

Source: Internet
Author: User
Tags ibm db2

For the sake of simplification, I have added the following things that I think are more important:

(1) The font configuration file for JRE 1.4 and the configuration syntax

The font configuration method for JRE1.4 can be found on the Sun website specifically:

This is only a description of the font configuration method in the simplified Chinese environment of Windows. Because the IBM DB2 (DB2 certified DB2 Training) V8.2 installed version of the JRE is 1.4, the font profile applied in the Simplified Chinese environment is%javahome%libfont.properties.zh. In the Simplified Chinese environment, wherein the text body defaults to SimSun (founder Extended), this font is the song body-founder Super Large font set, sometimes looks ugly, we need to say it changed to SimSun font (Arial). In some cases DB2 graphical tool fonts are not ugly, because the system does not have SimSun (founder Extended) fonts installed and the system defaults to SimSun fonts. Specific methods:

Replace "SimSun (founder Extended), Gb2312_charset" in the Font.properties.zh file with "Simsun,gb2312_charset" and restart the graphical tool (such as the DB2 control center To

(2) JRE1.5 font configuration file and configuration syntax

The font configuration method for JRE1.5 can be found on the Sun website specifically:

This is only a description of the font configuration method in the simplified Chinese environment of Windows. Because IBM db2v9.1 installed version of the JRE is 1.5, in the Simplified Chinese environment, where the text font is still the default SimSun (founder Extended), Arial-Fangzheng Large font set, we need to change it to SimSun font (Arial). Specific methods:

The first step: Copy%javahome%libfontconfig.properties.src to%javahome%libfontconfig.properties;

Step Two: Change "Allfonts.chinese-gb18030=simsun (founder Extended)" in the%javahome%libfontconfig.properties file to " Allfonts.chinese-gb18030=simsun ";

Step three: Restart the graphical tool (e.g. DB2 control center).

Character set issues in the DB2 window

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.