免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 23618 | 回复: 5
打印 上一主题 下一主题

centos 6.0 中文版 安装ORACLE 11G R2 乱码 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-07-21 15:34 |只看该作者 |倒序浏览
centos 6.0 中文版 安装ORACLE 11G R2 乱码

LANG=zh_CN.UTF-8
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN.UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL=

论坛徽章:
0
2 [报告]
发表于 2011-07-21 15:46 |只看该作者
字符集设置错误:
•使用默认值(Use the Default)—选择此选项,如果你只需要选择目前所有的数据库用户和数据库操作的应用系统所使用的语言。

(Use the Default—Select this option if you need to support only the language currently used by the operating system for all your database users and your database applications.)

•使用Unicode (AL32UTF8 —选择此选项,如果需要支持多种数据库用户和数据库应用程序的语言。

(Use Unicode (AL32UTF8 —Select this option if you need to support multiple languages for your database users and your database applications.)

•从列表中选择字符—该选项允许你使用的Oracle数据库字符集以外的操作系统使用的字符集。

(Choose from the list of character sets—Select this option if you want the Oracle Database to use a character set other than the default character set used by the operating system.)

在国家字符集(National Character Set) 列表中选择一个字符集或接受默认值。国家字符集是一种替代字符集,你可以存储在一个没有Unicode字符集的数据库中存储Unicode字符。选择一个国家字符集可以使编程设置更容易。

(In the National Character Set list, select a character set or accept the default. The national character set is an alternative character set that enables you to store Unicode characters in a database that does not have a Unicode database character set. Choosing a national character can make programming in the national character set easier.)

在默认语言(Default Language) 列表中, 选择一个默认数据库语言或接受默认值。默认的语言决定了数据库的支持本地敏感信息,如日期和月份的缩写,默认为字符数据的排序顺序,书写方向(左或右)。

(In the Default Language list, select a default database language or accept the default. The default language determines how the database supports locale-sensitive information such as day and month abbreviations, default sorting sequence for character data, and writing direction (left or right).)

论坛徽章:
59
2015七夕节徽章
日期:2015-08-24 11:17:25ChinaUnix专家徽章
日期:2015-07-20 09:19:30每周论坛发贴之星
日期:2015-07-20 09:19:42ChinaUnix元老
日期:2015-07-20 11:04:38荣誉版主
日期:2015-07-20 11:05:19巳蛇
日期:2015-07-20 11:05:26CU十二周年纪念徽章
日期:2015-07-20 11:05:27IT运维版块每日发帖之星
日期:2015-07-20 11:05:34操作系统版块每日发帖之星
日期:2015-07-20 11:05:36程序设计版块每日发帖之星
日期:2015-07-20 11:05:40数据库技术版块每日发帖之星
日期:2015-07-20 11:05:432015年辞旧岁徽章
日期:2015-07-20 11:05:44
3 [报告]
发表于 2011-07-21 16:03 |只看该作者
用英文安装吧。

论坛徽章:
0
4 [报告]
发表于 2011-07-21 16:21 |只看该作者
LANG=en_US ./runInstaller

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
5 [报告]
发表于 2011-08-05 15:41 |只看该作者
安装前设置一下环境变量,用英文安装


就不会乱码了。
export LC_ALL=en_US.UTF-8

论坛徽章:
0
6 [报告]
发表于 2011-08-06 16:20 |只看该作者
字体原因,去下载一个中易字体,
把中文字体增加到oracle安装文件,解决安装时中文是"囗囗囗囗囗囗囗囗"
              进入刚解压的database/stage/Components/oracle.jdk/1.5.0.17.0/1/DataFiles/all.jar就是JDK喽.在桌面新建一个文件夹命名为fallback/找一个zysong.ttf中文字体放入里面去。再用归档管理器打开它进入/jdk/jre/lib/fonts/(all.jar包的目录)把在桌面建好的fallback文件夹拖放进来,完成后的目录结构应该是/jdk/jre/lib/fonts/fallback/zysong.ttf。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP