当前位置:网站首页>解决Oracle中文乱码的问题
解决Oracle中文乱码的问题
2022-04-23 13:06:00 【ArchieSean】
博主名取自《小羊肖恩》中的小羊肖恩,名字为:肖恩,音译为Sean,自己取的姓:阿奇,为符合我们的阅读习惯,连起来组成为ArchieSean。博主志在将博客打造成为个人线上笔记的技术栈,方便自己也方便他人。如博客中有任何错误,请各位指出,谢谢大家。
近日,我在玩Oracle时,向数据库中插入数据,查询出来,中文显示为?????,为解决这个问题,我奔走于各个网站之间,寻求解决办法,最终得以解决,此处总结一下此次的解决过程。
- 使用PL/SQL执行以下sql,查看Oracle使用的字符集
Select userenv('language') from dual;

2. 添加本地电脑的环境变量

NLS_LANG
SIMPLIFIED CHINESE_CHINA.ZHS16GBK
- 此时,需要将用户下表的数据删除,重新插入数据,才会显示正常中文
我在修改之时犯了一个错误,我添加了环境变量之后,直接查询没有任何变化,我新插入一条数据之后,再查询新查询的数据中文显示正常,删除掉之前的乱码的数据即可。
如有任何问题,欢迎留言。
版权声明
本文为[ArchieSean]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_41964942/article/details/107399683
边栏推荐
- 将新增和编辑的数据同步更新到列表
- HQL find the maximum value in a range
- Three channel ultrasonic ranging system based on 51 single chip microcomputer (timer ranging)
- decast id.var measure. Var data splitting and merging
- mui + hbuilder + h5api模拟弹出支付样式
- Jupiter notebook installation
- The project file '' has been renamed or is no longer in the solution, and the source control provider associated with the solution could not be found - two engineering problems
- [Technical Specification]: how to write technical documents?
- AUTOSAR from introduction to mastery 100 lectures (83) - bootloader self refresh
- nodeJs + websocket 循环小案例
猜你喜欢

Date time type in database

Use Proteus to simulate STM32 ultrasonic srf04 ranging! Code+Proteus
![[untitled] PID control TT encoder motor](/img/ce/942a0b87994699f73da215e7cad2a1.png)
[untitled] PID control TT encoder motor

教你快速开发一个 狼人杀微信小程序(附源码)

Importerror after tensorflow installation: DLL load failed: the specified module cannot be found, and the domestic installation is slow

世界读书日:我想推荐这几本书

mui + hbuilder + h5api模拟弹出支付样式

Van uploader upload picture implementation process, using native input to upload pictures

Design and manufacture of 51 single chip microcomputer solar charging treasure with low voltage alarm (complete code data)

将新增和编辑的数据同步更新到列表
随机推荐
Melt reshape decast long data short data length conversion data cleaning row column conversion
SQL exercise question 1
CGC: contractual graph clustering for community detection and tracking
nodejs + mysql 实现简单注册功能(小demo)
AUTOSAR from introduction to mastery 100 lectures (86) - 2F of UDS service foundation
8086 of x86 architecture
AUTOSAR from introduction to mastery 100 lectures (81) - FIM of AUTOSAR Foundation
Byte jump 2020 autumn recruitment programming question: quickly find your own ranking according to the job number
Byte warehouse intern interview SQL questions
three.js文字模糊问题
CMSIS cm3 source code annotation
HQL find the maximum value in a range
office2021安装包下载与激活教程
内核错误: No rule to make target ‘debian/canonical-certs.pem‘, needed by ‘certs/x509_certificate_list‘
If you were a golang interviewer, what questions would you ask?
将新增和编辑的数据同步更新到列表
melt reshape decast 长数据短数据 长短转化 数据清洗 行列转化
Go language array operation
Proteus 8.10 installation problem (personal test is stable and does not flash back!)
The El table horizontal scroll bar is fixed at the bottom of the visual window