当前位置:网站首页>Read blog type data from mysql, Chinese garbled code - solved
Read blog type data from mysql, Chinese garbled code - solved
2022-07-03 06:14:00 【Muyu】
from mysql Chinese Reading blog Data of type
problem
Questions like the title , I read it from the database when I was blogging blog Data of type , The display on the page will be garbled as shown in the following figure .
terms of settlement
Convert data types to text Can solve .
About text An extension of
Field type | Storage bytes |
---|---|
TINYTEXT | 256 |
TEXT | 65535 |
MEDIUMTEXT | 16777215 |
LONGTEXT | 4294967295 |
TEXT Its size is 65535 Bytes , About equal to 64KB. A Chinese character occupies 2 Bytes , Can be saved 32767.5 The Chinese characters , Generally enough , It can be replaced as needed .
边栏推荐
- It is said that the operation and maintenance of shell scripts are paid tens of thousands of yuan a month!!!
- Virtual memory technology sharing
- 有意思的鼠标指针交互探究
- Simple understanding of ThreadLocal
- 代码管理工具
- Oauth2.0 - using JWT to replace token and JWT content enhancement
- arcgis创建postgre企业级数据库
- Zhiniu stock project -- 04
- Project summary --01 (addition, deletion, modification and query of interfaces; use of multithreading)
- [system design] proximity service
猜你喜欢
ThreadLocal的简单理解
Fluentd facile à utiliser avec le marché des plug - ins rainbond pour une collecte de journaux plus rapide
Method of converting GPS coordinates to Baidu map coordinates
有意思的鼠标指针交互探究
表达式的动态解析和计算,Flee用起来真香
从小数据量分库分表 MySQL 合并迁移数据到 TiDB
JMeter performance automation test
Kubernetes notes (II) pod usage notes
Cesium Click to obtain the longitude and latitude elevation coordinates (3D coordinates) of the model surface
多线程与高并发(7)——从ReentrantLock到AQS源码(两万字大章,一篇理解AQS)
随机推荐
Detailed explanation of findloadedclass
使用conda创建自己的深度学习环境
Oauth2.0 - use database to store client information and authorization code
SVN分支管理
Zhiniu stock project -- 05
智牛股--03
Simple handwritten ORM framework
Difference between shortest path and minimum spanning tree
Fluentd is easy to use. Combined with the rainbow plug-in market, log collection is faster
In depth learning
Jedis source code analysis (I): jedis introduction, jedis module source code analysis
Mysql database binlog log enable record
Loss function in pytorch multi classification
Kubesphere - build Nacos cluster
Mysql database table export and import with binary
认识弹性盒子flex
Jackson: what if there is a lack of property- Jackson: What happens if a property is missing?
When PHP uses env to obtain file parameters, it gets strings
MySQL帶二進制的庫錶導出導入
Mysql5.7 group by error