当前位置:网站首页>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 .
边栏推荐
- The server data is all gone! Thinking caused by a RAID5 crash
- Detailed explanation of findloadedclass
- Svn branch management
- Disruptor learning notes: basic use, core concepts and principles
- Redis cluster creation, capacity expansion and capacity reduction
- Sorry, this user does not exist!
- Pytorch builds the simplest version of neural network
- Detailed explanation of contextclassloader
- [set theory] equivalence relation (concept of equivalence relation | examples of equivalence relation | equivalence relation and closure)
- The win7 computer can't start. Turn the CPU fan and stop it
猜你喜欢

Creating postgre enterprise database by ArcGIS

项目总结--04

Kubesphere - set up redis cluster

Kubernetes notes (IX) kubernetes application encapsulation and expansion

Kubesphere - Multi tenant management

深入解析kubernetes controller-runtime

Maximum likelihood estimation, divergence, cross entropy

Loss function in pytorch multi classification

Deep learning, thinking from one dimensional input to multi-dimensional feature input

How to create and configure ZABBIX
随机推荐
Detailed explanation of contextclassloader
Skywalking8.7 source code analysis (I): agent startup process, agent configuration loading process, custom class loader agentclassloader, plug-in definition system, plug-in loading
Kubernetes notes (II) pod usage notes
Tabbar settings
What's the difference between using the Service Worker Cache API and regular browser cache?
Project summary --2 (basic use of jsup)
使用 Abp.Zero 搭建第三方登录模块(一):原理篇
Leetcode solution - 01 Two Sum
[system design] proximity service
tabbar的设置
When PHP uses env to obtain file parameters, it gets strings
Oauth2.0 - using JWT to replace token and JWT content enhancement
Pytorch builds the simplest version of neural network
The win7 computer can't start. Turn the CPU fan and stop it
phpstudy设置项目可以由局域网的其他电脑可以访问
Use abp Zero builds a third-party login module (I): Principles
Kubernetes notes (III) controller
Creating postgre enterprise database by ArcGIS
Analysis of Clickhouse mergetree principle
Es remote cluster configuration and cross cluster search