********************************************************* Starting test setdbcodepagetoplatformcodepage *********************************************************
Validating that database MASTR supports code page 936 (ANSI/OEM - 简体中文 GBK )... Validating that database SAMPL supports code page 936 (ANSI/OEM - 简体中文 GBK )... Successfully validated all databases. Note: this command does not guarantee that all of the text in this dbset is compatible with this code page setting. Please refer to the ClearQuest Release Notes for more information. Successfully set the code page to: 936 (ANSI/OEM - 简体中文 GBK).
********************************************************* Exit code 0 for test setdbcodepagetoplatformcodepage *********************************************************
再次运行lscodepage命令可以看到myrepo的代码页已经被改变成为简体中文:
********************************************************* Starting test lscodepage *********************************************************
Code page of myrepo: 936 (ANSI/OEM - 简体中文 GBK) Code page of client: 936 (ANSI/OEM - 简体中文 GBK)
********************************************************* Exit code 0 for test lscodepage *********************************************************
在选择代码页的下拉框里除了第一项20127 (US-ASCII)之外,还可以看到第二项950 (ANSI/OEM - Traditional Chinese Big5)的选项,它是从当前的操作系统中自动检测出来的。但是,当我们选择第二项,试图为模式库指定繁体中文代码页的时候,我们会得到一个错误信息,说 所指定的是一个未受支持的数据代码页。如下图:
********************************************************* Starting test setdbcodepagetoplatformcodepage *********************************************************
Validating that database MASTR supports code page 950 (ANSI/OEM - Traditional Chinese Big5)... Successfully validated all databases. You have specified an unsupported data code page "950 (ANSI/OEM - Traditional Chinese Big5)". Please refer to ClearQuest release notes for list of supported code pages OR Use -force option while using the installutil command to set the code page.(The use of -force option is highly discouraged.)
********************************************************* Exit code 1 for test setdbcodepagetoplatformcodepage *********************************************************
********************************************************* Starting test setdbcodepagetoplatformcodepage *********************************************************
Validating that database MASTR supports code page 950 (ANSI/OEM - Traditional Chinese Big5)... Successfully validated all databases. Warning: You have set the data code page to an unsupported data code page "950 (ANSI/OEM - Traditional Chinese Big5)". Please refer to ClearQuest release notes for list of supported code pages. Note: this command does not guarantee that all of the text in this dbset is compatible with this code page setting. Please refer to the ClearQuest Release Notes for more information. Successfully set the code page to: 950 (ANSI/OEM - Traditional Chinese Big5).
********************************************************* Exit code 0 for test setdbcodepagetoplatformcodepage *********************************************************
本文发表的话题仅为介绍性内容,并非代表 IBM 的立场、策略和观点。本文档所介绍的信息仅仅限于本文的环境。本文档不提供任何类型的包括显式或隐含的担保,不对任何(但不限于)收入或利润的损失或其它 间接的、特殊的、偶然的、必然的损失负责,使用者将自行承担由于使用本文档所造成的各类经济损失和法律责任,本文作者、IBM以及发表本文的站点不负相关 责任。相关技术细节,请咨询IBM公司、操作系统服务提供商。