当前位置:网站首页>[character set 9] will GBK be garbled when copied to unicode?
[character set 9] will GBK be garbled when copied to unicode?
2022-06-12 08:52:00 【junxuezheng】
Here's the catalog title
One 、 Problem description
- The product encountered a bug, A colleague said , Probably because his characters were copied from other places , Not in the required format , So there's a mess .
Two 、 Problem analysis
- In short , It's you gbk Copy to utf8 Format , So it's garbled .
- But is that really the case ?
3、 ... and 、 experiment
1、 Create a new one gbk File format 
2、 Create a new one utf8 File format 
3、 hold gbk Copy formatted text to utf8 In formatted text 
4、 hold utf8 Format file save , And on again . No garbled code found .
( Pictured above )
remarks : Of course , If we put gbk Save as utf8, open gbk, It's messy .
Four 、 Result analysis
- Previous statement , I put gbk The format is copied to utf8 In a document in format ,( Or copy it to some input ), There is no such thing as garbled code .
- gbk Copy text to utf8 Format file ,Windows The system should have transcoded .
边栏推荐
- Implementing architecture caching in MySQL under redis server environment
- Binlog in mysql:
- Specify 404 and 500 error reporting pages.
- Build personal blog and web.
- 【无标题】Task3 多路召回
- 利用nvm动态调整nodejs版本,解决因为node版本过高或过低导致项目无法运行和打包
- 域名映射到指定IP
- [untitled] task3 multiple recall
- FDA reviewers say Moderna covid vaccine is safe and effective for children under 5 years of age
- Popular understanding of time domain sampling and frequency domain continuation
猜你喜欢
![[advanced pointer III] implement C language quick sorting function qsort & callback function](/img/f0/3729db83ba3eb15c7df0958858ece9.png)
[advanced pointer III] implement C language quick sorting function qsort & callback function

Loading circling effect during loading

Analysis of 43 cases of MATLAB neural network: Chapter 8 prediction of GRNN Network - Freight Volume Prediction Based on generalized regression neural network

About weights exercise

Build personal blog and web.

Background position - mixed units

Centos8 installing MySQL 8.0 (upper)

Implementing architecture caching in MySQL under redis server environment

Notes used by mqtt (combined with source code)

Background attribute compound writing
随机推荐
Popular understanding of time domain sampling and frequency domain continuation
Random acquisition of 4-digit non repeated verification code
Error: what if the folder cannot be deleted when it is opened in another program
动态线段树leetcode.699
第五章-[bx]和Loop指令
Specify 404 and 500 error reporting pages.
【进阶指针二】数组传参&指针传参&函数指针&函数指针数组&回调函数
【字符集九】gbk拷贝到Unicode会乱码?
[advanced pointer I] character array & array pointer & pointer array
《MATLAB 神經網絡43個案例分析》:第7章 RBF網絡的回歸--非線性函數回歸的實現
The era of post MES system has come gradually
Shell basic syntax -- array
The newline character with in the string is converted to an array
Priority issues
FDA reviewers say Moderna covid vaccine is safe and effective for children under 5 years of age
《MATLAB 神经网络43个案例分析》:第8章 GRNN网络的预测----基于广义回归神经网络的货运量预测
[dynamic memory management] malloc & calloc and realloc and written test questions and flexible array
【sklearn学习】LightGBM
深拷贝与浅拷贝的区别
分库分表会带来读扩散问题?怎么解决?