没有合适的资源?快使用搜索试试~ 我知道了~
首页Oracle 配置UTF-8字符集 详述(原创)_解决各种影响乱码的场景
原创作品 by Yang Sheng Jun, 传播请保留签名 Oracle 配置UTF-8字符集 详述(原创)_解决各种影响乱码的场景 1. 创建utf-8 数据库 2. ORCLE字符集命名规则 3. 如何检查导入文件的字符集 4. 导入文件并保证导入后的结果是utf-8 5. 客户端与数据库服务器字符集一致性保证 和检测 6. 导出数据库作为utf-8
资源详情
资源评论
资源推荐
How to Setup Oracle Database in Charset UTF-8
1
Document Control
Title How to Setup Oracle Database with Charset UTF-8
Version Number 0.1
Version Date May 2010
Author Yang Sheng Jun
Status draft
Location
Revision History
Version Status Revision
Date
Modified By Description
0.1 Draft Yang Sheng Jun Initial creation
Document Approval and Distribution
Role Name Department Review By
(date)
Sign-off By
(date)
2
Table of Contents
Document Control...........................................................................................................................................2
Revision History 2
Document Approval and Distribution 2
1 Introduction...................................................................................................................................................4
2 How to create an UTF-8DB..........................................................................................................................4
2.1 Run DBCA to new create a Database 4
2.2 Oracle Character Set Concept 6
3 Verify charset for DB dump file...................................................................................................................7
3.1 Split DB dump file to get useful information 7
3.2 Get the hex information in Ultra-Edit 8
3.3 Get charset ID of the DB dump file 8
3.4 Check whether the dump file Char Set is UTF88
4 Import the dump file.....................................................................................................................................9
4.1 Create a user 9
4.2 Grant 9
4.3 Get exporting schema 9
4.4 In client side, set consistency NLS_LANG with DB 9
4.5 Verify real Char Set in the imported DB 10
5 Configuration Character Set in Client Side and Terminator......................................................................10
5.1 Character Sets in DB Server, Client Side, Terminator 10
5.2 Configuration for Client Side SQLPlus 11
5.2.1 Inconsistency Character Set solution A,..............................................................................12
5.2.2 Inconsistency Character Set solution B...............................................................................15
5.3 Configuration for Client Side PL/SQL Developer 16
5.3.1 Configuration for PL/SQL Developer7.0............................................................................16
5.3.2 Configuration for Client Side PL/SQL Developer 8.0.........................................................16
5.4 Configuration for Client Side TOAD 18
5.5 Configuration for iSQL*Plus18
5.6 Client Side in Java 19
5.6.1 Java Character encoding......................................................................................................19
5.6.2 Oracle JDBC Thin Driver and Character encoding.............................................................19
6 Export DB dump.........................................................................................................................................20
6.1 Inconsistency Char Set, Client NLS_LANG=GBK 20
6.2 Consistency Char Set Client NLS_LANG=UTF8 21
3
1 Introduction
The document is help to setup and config DB Server and DB Client in charset UTF-8
2 How to create an UTF-8DB
2.1 Run DBCA to new create a Database
4
Choose DB Character Set: UTF8; choose National Character Set: UTF8
Character Set Bytes
UTF8 Variable length (normally 1~3 bytes)
AL32UTF8 Fixed length, 4 bytes
UTF16 UCS-2, Fixed Length, 2 bytes
AL16UTF16 Unicode3.x, Fixed length, 4 bytes
5
剩余20页未读,继续阅读
nemoyn
- 粉丝: 1
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- zigbee-cluster-library-specification
- JSBSim Reference Manual
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论6