oracle数据库字符集
Oracle字符集的基本原理
1. Oracle服务器字符集
oracle以哪种字符编码存储字符,可以通过以下语句查出数据库字符集的设置。
- 方法1
SQL> select * from v$nls_parameters where parameter='NLS_CHARACTERSET'; PARAMETER VALUE
---------------------------------------------------------------- ----------------------------------------------------------------
NLS_CHARACTERSET AL32UTF8
- 方法2
SQL> select userenv('language') from dual; USERENV('LANGUAGE')
----------------------------------------------------
AMERICAN_AMERICA.AL32UTF8
2. 客户端操作系统字符集
- Windows,可以使用chcp命令获得代码页(code page)
C:\Users\zy>chcp
活动代码页:
到微软的官方文档《National Language Support (NLS) API Reference》找到其对应的字符集
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAA4QAAAAkCAIAAABe2GMfAAAH00lEQVR4nO2dPXLrIBSFtSd3LCULYBvZAkvwKujTu3WleUWalGlT8grLEj8XjLCQBPd8k8m8kbCce0Do6PLzBpOBlDKnWHP0GlcanlEfCATPB1q1Qn81hYhAGuhZlSGnUK910GtcaXhGfSAQPB9o1Qr91RQiAmmgZ1VyzSgAAAAAAACbg8woO3hGfSAQPB9o1Qr91RQiAmmgZ1VgRtnBM+oDgeD5QKtW6K+mEBFIAz2rAjPKDp5RHwgEzwdatUJ/NYWIQBroWRWYUXbwjPpAIHg+0KoV+qspRATSQM+qwIyyg2fUBwLB84FWrdBfTSEikAZ6VgVmlB3ZUWs5SJ11EKTg2czKgFat0F9NISKQBnpWBWaUHUTUoxKDzcNuwnduA89mVga0aoX+agoRgTTQsyowo+zwo9ZyGIQalwOjEkKNMKNbwbOZlQGtWqG/mkJEIA30rArMKDvcqLV0nah7Sko5JUufhWaHSp51kqzzQS0H/xhVrFd4NrMyoFUr9FdTiAikgZ5VgRllhxP1MwtKoeVzwN6MSvhj9+mzhk6wail1pFi/8GxmZUCrVuivphARSAM9qwIzyo41ZjS0jE5mlPCdLlLPSVBrxJ8s1i88m1kZ0KoV+qspRATSQM+qwIyyY9Uw/WozGvWVkwOVmt1kVJ7NrIy4VlqmE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wu3d8FsWx9B5R6TD98mF1puAO4G09X5RjznYLmKZ/W2e3WcBkzE6Z0dDfvGdGbS8a9xPUzkd1Cfpc7S8n3j6HFt50ZbF6srZxI2MvrXwKzKiVCF7eb5yzS7R5mVG5fNXyre6OEey9aKymrBd6ryFak+mtwaMTCdl9RHk9j4n0OY+X29P2HHvwrp7+I6uZR9g+bLO1E72AiSq57uCT/RcwBQmllWbUHhqVMuUnyJ2PakLcUfbTuspyv/A6ZVd+uazgjGAvrXzWmFHCelIntLPPaJgZdTXxnDr2GY0RG9SOvNcSo0Bna4jdR2RMwdZOTn97svj25m09qWXS4Ak2vWeHG7XrRaP+zume7DXdwYxsv0D4cW133o8pef7YvXunErNv03/tueDZzMqootXrWSjrrsX6gfykv1aNiEAa6FmV1WbUm8e588+2wfNsW8HkBH/kgHproyZr2m/K5I4BS1IqfNUmB9xjqUFySRnxx58Tns2sDGjVCv3VFCICaaBnVZAZZUfajNonqHGH2KxNemRH+3uCJK+jqUXf/vVgRnsGWrVCfzWFiEAa6FkVmFF2ZJpR93S5GY18PGJGw78FZpQT0KoV+qspRATSQM+qwIyyIzVnNLrcr8yMFgzTB4u+vbWqmDPaNdCqFfqrKUQE0kDPqsCMsiO5mj623G+VGQ1XG2WbWmrR93Js2ZdgOt6CF2XazMqAVq3QX00hIpAGelYFZpQdL/YZfZfdhs7bGKM3XJtZGdCqFfqrKUQE0kDPqsCMsqPof2DKZx+P2NIOOzybWRnQqhX6qylEBNJAz6rAjLKDZ9QHAsHzgVat0F9NISKQBnpWBWaUHTyjPhAIng+0aoX+agoRgTTQsyowo+zgGfWBQPB8oFUr9FdTiAikgZ5VyTWjAAAAAAAAbM5/GQtv79ro3s8AAAAASUVORK5CYII=" alt="" />
- Linux,字符集在/etc/sysconfig/i18n设置:
LANG="zh_CN.GB2312" (指定当前操作系统的字符集)
SUPPORTED="zh_CN.GB2312"(指定当前操作系统支持的字符集)
SYSFONT="lat0-sun16"(指定当前操作系统的字体)
3.客户端NLS_LANG参数:该参数用于向Oracle指示客户端操作系统字符集
它的格式如下: NLS_LANG = language_territory.charset
它有三个组成部分(语言、地域和字符集),每个成分控制了NLS子集的特性。
其中:
- Language: 指定服务器消息的语言, 影响提示信息是中文还是英文
- Territory: 指定服务器的日期和数字格式,
- Charset: 指定字符集。
如:
- AMERICAN _ AMERICA. ZHS16GBK
- AMERICAN_AMERICA.AL32UTF8
- SIMPLIFIED CHINESE_CHINA.ZHS16GBK
- SIMPLIFIED CHINESE_CHINA.AL32UTF8
4.转换规则
1.设置客户端的NLS_LANG为客户端操作系统的字符集
2.如果数据库字符集等于NLS_LANG,数据库和客户端传输字符时不作任何转换
3.如果它们俩不等,则需要在不同字符集间转换,只有客户端操作系统字符集是数据库字符集子集的基础上才能正确转换,否则会出现乱码。
实验
数据库字符集:SIMPLIFIED CHINESE_CHINA.AL32UTF8
创建测试表
SQL> create table test(id number,var varchar2(30));
- session1,session1的NLS_LANG设为和数据库字符集一样(即AL32UTF8)
C:\Users\zy>set nls_lang=Simplified Chinese_China.AL32UTF8 C:\Users\zy>set nls_lang=Simplified Chinese_China.AL32UTF8 C:\Users\zy>echo %NLS_LANG%
Simplified Chinese_China.AL32UTF8 C:\Users\zy>sqlplus scott/tiger@zydev SQL*Plus: Release 11.2.0.3.0 Production on 鏄熸湡鏃?7鏈?3 21:38:10 2016 Copyright (c) 1982, 2011, Oracle. All rights reserved. 杩炴帴鍒?
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> insert into test values(1,'中国'); 宸插垱寤?1 琛屻€
commit;
- session2,session2的NLS_LANG设为和客户端操作系统一样(即ZHS16GBK):
C:\Users\zy>set nls_lang=Simplified Chinese_China.ZHS16GBK C:\Users\zy>sqlplus scott/tiger@zydev SQL*Plus: Release 11.2.0.3. Production on 星期日 7月 :: Copyright (c) , , Oracle. All rights reserved. 连接到:
Oracle Database 11g Enterprise Edition Release 11.2.0.1. - 64bit Produc
With the Partitioning, OLAP, Data Mining and Real Application Testing op SQL> insert into test values(,'中国'); 已创建 行。 SQL> commit;
执行查询
在session1查询
SQL> select * from test; ID VAR
---------- ------------------------------
涓浗
中国
在session2查询
SQL> select * from test; ID VAR
---------- ------------------------------------------------------------
中国
???
上面例子看起来很诡异,session1和2都能正常显示自己插入的字符串,又都不能正常显示对方插入的字符串。为了弄清楚,我们首先得知道数据库里对这两个字符串是怎么存储的。我们可以使用dump函数获得字符在数据库的编码:
SQL> select id,dump(var,1016) from test; ID
----------
DUMP(VAR,1016)
------------------------------------------------------ 2
Typ=1 Len=6 CharacterSet=AL32UTF8: e4,b8,ad,e5,9b,bd 1
Typ=1 Len=4 CharacterSet=AL32UTF8: d6,d0,b9,fa
根据AL32UTF8的编码,“中国”两字的正确编码为(都为3个字节):
中--e4,b8,ad
国--e5,9b,bd
因此session 1插入的字符串在数据库中的编码是错误的,session 2正确。这也是为什么一定要设置NLS_LANG为客户端操作系统的字符集。
但是根据上面实验我们可以知道,数据库中存储正确,并不代表客户端能正常显示;同样地,即时数据库没有正确存储,有时候客户端也能够正常显示,这又是为什么呢?别急,请听我慢慢道来:
场景1:session 1插入,session 1查询,在数据库中存储错误,但显示正确。
插入过程:
”中国“两字在客户端操作系统字符集ZHS16GBK中的编码是”d6,d0,b9,fa",由于NLS_LANG和数据库字符集相同,数据库端对客户端传过来的字符编码不进行任何转换直接存入数据库,因此数据库中存储的编码也是“d6,d0,b9,fa”,
读取过程:
数据库端读取的编码是“d6,d0,b9,fa”,由于NLS_LANG和数据库字符集相同,客户端对数据库端传过来的字符编码不进行任何转换直接显示,编码”d6,d0,b9,fa“在客户端操作系统字符集ZHS16GBK对应的汉字为“中国”。
从以上分析可知,虽然读取时正确的,但那是因为负负得正,实际上数据库中存储是错误的,因此要特别小心这种情况,在生成库中要避免。其实只要对它进行length操作就能轻易揭开它的假面具:
LENGTH(VAR)
-----------
3
得出的长度居然为3!实际的长度只是2,这会带来很多麻烦。
场景2:session 1插入,session 2查询,在数据库中存储错误,显示也错误。
插入过程和场景1一样,这里就不再累述。
读取过程:
数
据库端读取的编码是“d6,d0,b9,fa”,由于NLS_LANG和数据库字符集不同,客户端对数据库端传过来的字符编码进行转换,数据库端字符集
AL32UTF8里编为“d6,d0,b9,fa”无法在客户端操作系统字符集ZHS16GBK里找到对应的编码,所以只好用?代替。
场景3:session 2插入,session 1查询,在数据库中存储正确,但显示错误。
插入过程:
”
中国“两字在客户端操作系统字符集ZHS16GBK中的编码是”d6,d0,b9,fa",由于NLS_LANG和数据库字符集不同,Oracle会进行
字符编码转换,也就是将字符集ZHS16GBK里“中国”的编码“d6,d0,b9,fa"转换为字符集"AL32UTF8"里”中国“的编
码”e4,b8,ad,e5,9b,bd“。
读取过程:
数据库端读取的编码
是”e4,b8,ad,e5,9b,bd“,由于NLS_LANG和数据库字符集相同,客户端对数据库端传过来的字符编码不进行任何转换直接显示,编
码”e4,b8,ad,e5,9b,bd“在客户端操作系统字符集ZHS16GBK对应的汉字为“涓
浗”(原本2个字符,现在变成了3个字符,因为ZHS16GBK的汉字以2个字节编码)。
场景4:session 2插入,session 2查询,在数据库中存储正确,显示也正确。
插入过程和场景3类似。
读取过程:
数
据库端读取的编码是”e4,b8,ad,e5,9b,bd“,由于NLS_LANG和数据库字符集不同,客户端对数据库端传过来的字符编码进行转换,数据
库端字符集AL32UTF8里”中国“两字的编码”e4,b8,ad,e5,9b,bd“转换成客户端操作系统字符集ZHS16GBK里“中国”两字的编
码“d6,d0,b9,fa",并正常显示。
这种情况虽然经过了两次转换,都确实最正确、最推荐的方式。
结论:NLS_LANG只和客户端操作系统的字符集相关,如果客户端操作系统的字符集和数据库字符集间无法正确转换,则应该首先改变客户端终端的字符集,而不是简单地把NLS_LANG设为和数据库字符集一样。
常见乱码解决:
登录数据库显示乱码
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAzUAAADKCAIAAAATovnqAAAgAElEQVR4nO2dT4wlx33f300nwgfrYmCBMQjv7HC8M4S4X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iTZdsnlymKynves+27/ZR31ef7z1YdwFk3q8YifZZSC8OVuueEfTLUYYS9Wmyg9rb55ub0mbzL+RA4qpsN7ZSQ9nyAbVgkDHZo7r76LD5wytr4yrzCiEHRBHIj/QnsgGCs/yaOLIENw4XiKGIbJnqHKSy54NJG6X4Yd/DGXS3qcmnV9Py+k5mLLXwEO9BLnWd+qL7dVk7NsNv4Ti7CqEunyGf7wTbesG9xyWpGj7vRX02nDe5MknPQkvmur0u9KCVyBYoQ5GBWYf68tKuzLMKDr9XCiKppV0Nzr7Z5p+Yl6TCJtXD1KLOQcJ/UDPBkIcohUK/ujtLsyK3LCZvDcJTQBiudXLvrbajGNlM8hMNguLl9rhbFUll/mN/UaImt8BRMEDWyTxi0Pk0cWWsIxRJsM5znWX0JiqqZfx2B8rGjmN5+WNfgNS2xFWa4TyZWc8Lvo8P2Ery9G+Ro4UbZjVrsFn3XhyCV6KKzaFUaLjGDD941dDn0GWwrnnMQ0eMRW8Fu1GLXoFU2BfoMEhl88KLPADywvARrhi63OdBnkMQIgxd9BqCg79cTjmF06HIbJ3pCOOUIMeww4w3edXU59BkAAABAXqDPAAAAAPICfQYAAACQF+gzAAAAgLxAnwEAAADkBfoMAAAAICv+Pw9NA+QE5ZORAAAAAElFTkSuQmCC" alt="" />
原因是数据库的客户端和服务端的字符集不同
查出服务端的字符集
SQL> select userenv('language') from dual; USERENV('LANGUAGE')
----------------------------------------------------
SIMPLIFIED CHINESE_CHINA.AL32UTF8
客户端字符集的构成与设定。客户端的字符集是由当前用户的环境变量NLS_LANG设定的。
故在环境变量中设定与服务器端相同的字符集即可解决乱码
vim ~/.bash_profile
增加:
export NLS_LANG="SIMPLIFIED CHINESE_CHINA.AL32UTF8"
source ~/.bash_profile
乱码得到解决
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAA04AAAC5CAIAAACQvfjqAAAc6UlEQVR4nO3d2aGqMBCAYeuiIOqhGpqhGM8DKllmMpMFRc//Pd2rmI0kDAl6bjcAA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x0OQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMDnD0xknKdA3ifCAAAAAElFTkSuQmCC" alt="" />
如果是win系统就要修改注册表:
HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOMExx\NLS_LANG
oracle数据库字符集的更多相关文章
- oracle数据库字符集的修改
本文摘自:http://blog.csdn.net/nsj820/article/details/65711051.改客户端字符集:通过WINDOWS的运行菜单运行Regedit,修改注册表 Star ...
- 选择ORACLE数据库字符集
如何选择数据库的字符集是一个有争议的话题,字符集本身涉及的范围很广,它与应用程序.客户的本地环境.操作系统.服务器等关系很密切,因此要做出合适的 选择,需要明白这些因素之间的关系.另外对字符集的基本概 ...
- linux下oracle数据库字符集修改
linux下oracle数据库字符集修改 0.RHEL6.7.oracle11gr2 1.登录oracle.在安装oracle的用户下进入数据库. $ sqlplus / as sysdba 2.查询 ...
- Oracle数据库字符集问题解析
Oracle数据库字符集问题解析 经常看到一些朋友问ORACLE字符集方面的问题,我想以迭代的方式来介绍一下.第一次迭代:掌握字符集方面的基本概念.有些朋友可能会认为这是多此一举,但实际上正是由于对相 ...
- ORACLE数据库字符集处理
简介: ORACLE数据库字符集,即Oracle全球化支持(Globalization Support),或即国家语言支持(NLS)其作用是用本国语言和格式来存储.处理和检索数据.利用全球化支持,OR ...
- Oracle数据库字符集问题
Oracle数据库的字符集问题,也涉及作为服务器操作系统的CentOS或者Windows的字符集与Oracle字符集之间的关联关系Oracle的字符集,这个问题的提出是因为两个原因:一是遇到一个DMP ...
- Oracle数据库字符集修改
Oracle字符集是一个字节数据的解释的符号集合,有大小之分,有相互的包容关系.ORACLE支持国家语言的体系结构允许你使用本地化语言来存储,处理,检索数据.一般来说,数据库字符集在安装数据库实例时就 ...
- Linux下修改Oracle数据库字符集命令
常见情形:从服务器备份Oracle数据库后再到本地机器上还原Oracle数据库的时候经常会碰见数据库字符编码不一致的情况,可以用以下命令来修改本地的Oracle数据库字符编码,然后顺利还原Oracle ...
- oracle数据库字符集查询
1>数据库服务器字符集 select * from nls_database_parameters,其来源于props$,是表示数据库的字符集. 查询结果如下 NLS_LANGUAGE AMER ...
随机推荐
- Python中的画图初体验
学到<父与子编程之旅>的16章了,跟书上的例子进行学习,学会了画圆,我又找到了画线的方法,于是就可以在screen上画日本国旗了: 手动画的不好看,也可以不手动画,直接画线: 当然也可以直 ...
- druid使用
https://blog.csdn.net/weinichendian/article/details/78503469
- C++控制台读取和输出函数
c中puts()函数用来向标准输出设备(屏幕)写字符串并换行,其调用方式为,puts(s);其中s为字符串字符(字符串数组名或字符串指针). 功 能: 送一字符串到流stdout中 用 法: int ...
- 一款手机端的jQuery图片滑块插件
今天我们要介绍一款比较特别的jQuery图片滑块插件,它不仅在PC浏览器上可以使用,而且更适合在手机端的网页中使用.这款jQuery插件不仅可以定义图片切换的方向,而且可以即时切换图片切换的动画方式, ...
- 基于jquery的可拖动div
昨天给大家介绍了一款基于jquery ui漂亮的可拖动div实例,今天要给大家分享一款基于jquery的可拖动div.这款可拖动div只要引用jquery就可以,无需引用jquery ui.还实时记录 ...
- Shell脚本编程入门到放弃
1 区分大小写 UNIX是区分大小写的,因此shell脚本也是区分大小写的 2 特殊字符 UNIX的某些字符都有特殊的意义或功能,如果它们不以其特殊的意义使用必须要进行转义(escaped). 为了转 ...
- uart 超声波传感器数据读取
传感器选择 淘宝上搜索 US-100 , 价格大概在17块人民币左右. 读取数据的代码如下: // include/aplex_tty.h #ifndef _APLEX_TTY_H__ #define ...
- Android--List与ArrayList区别(转)
转载自:http://www.cnblogs.com/aisiteru/articles/1151874.html List是一个接口,而ArrayList是一个类. ArrayList继承并实现了L ...
- Android APP 分享图片文字到微信刚開始正常,后面就不弹出分享框了
依照官方的流程走了一遍.一切顺利,分享成功了.本来以为能够大功告成了,结果睡了一觉,第二天要给客户演示了.才发现TMD坑爹了,不能分享了,第三方的分享栏弹不出来了.我一阵惊慌,还好非常快找到了解决的方 ...
- 【Mac双系统设置系统默认启动系统】解决方式
解决方式1: 开机时长按option键,进入系统选择界面: 用左右方向键选择到你要设置为默认启动的盘, 然后同一时候按下ctrl+enter键.就可以将其设置为默认启动的系统. 解决方式2: 选择ma ...