Rational Clearquest中的 code page问题

来源:互联网 发布:品牌网络公关 编辑:程序博客网 时间:2024/06/05 11:14

 1、问题现象
  在cq安装后,启动cq designer,会弹出一个对话框提示:
  "The data code page value for the 2003.06.00 schema repository is not set.
  Until you set the data code page value, only ASCII data can be entered into the
  databases. For instruction on how to set the data code page value, see the
  ClearQuest documentation…"
  其意思是2003.06.00 schema 没有设置数据代码页,默认情况下只能使用ASCII。因此在设计中没有办法使用中文。
  2、解决的办法
   进入命令行模式;
   进入rational cq的安装目录,我的是c:/program files/rational/clearquest;
  
  运行命令
   installutil lscodepage -dbset 2003.06.00 admin ""
   运行结果为:
   Code page of 2003.06.00: 20127 (US-ASCII) (default)
   Code page of client: 936 (ANSI/OEM - 简体中文 GBK)
  
   表示2003.06.00的默认的codepage和系统平台的codepage。
  
   修改codepage
   命令:
   installutil setdbcodepagetoplatformcodepage -dbset 2003.06.00 admin ""
  
   即可把2003.06.00的codepage设置成简体中文的了。