当前位置:网站首页>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 .
边栏推荐
- 【系统设计】邻近服务
- Clickhouse learning notes (2): execution plan, table creation optimization, syntax optimization rules, query optimization, data consistency
- Fluentd is easy to use. Combined with the rainbow plug-in market, log collection is faster
- In depth learning
- 88. 合并两个有序数组
- PMP笔记记录
- Apifix installation
- YOLOV3学习笔记
- Pytorch builds the simplest version of neural network
- Svn branch management
猜你喜欢

使用conda创建自己的深度学习环境

Kubernetes notes (VI) kubernetes storage

Creating postgre enterprise database by ArcGIS

Selenium ide installation recording and local project maintenance

Kubesphere - build Nacos cluster

Simple understanding of ThreadLocal

Es remote cluster configuration and cross cluster search

Kubesphere - set up redis cluster

Support vector machine for machine learning

Phpstudy setting items can be accessed by other computers on the LAN
随机推荐
Loss function in pytorch multi classification
Project summary --01 (addition, deletion, modification and query of interfaces; use of multithreading)
Jedis source code analysis (I): jedis introduction, jedis module source code analysis
The mechanical hard disk is connected to the computer through USB and cannot be displayed
PMP notes
Mysql database table export and import with binary
Zhiniu stock project -- 05
代码管理工具
Naive Bayes in machine learning
多线程与高并发(7)——从ReentrantLock到AQS源码(两万字大章,一篇理解AQS)
Oauth2.0 - explanation of simplified mode, password mode and client mode
Oauth2.0 - Introduction and use and explanation of authorization code mode
Printer related problem record
Convolution operation in convolution neural network CNN
Bernoulli distribution, binomial distribution and Poisson distribution, and the relationship between maximum likelihood (incomplete)
tabbar的设置
Oauth2.0 - using JWT to replace token and JWT content enhancement
Kubernetes notes (I) kubernetes cluster architecture
Get a screenshot of a uiscrollview, including off screen parts
Leetcode solution - 01 Two Sum