当前位置:网站首页>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 .
边栏推荐
- Reinstalling the system displays "setup is applying system settings" stationary
- Kubernetes notes (VIII) kubernetes security
- Convolution operation in convolution neural network CNN
- Fluentd facile à utiliser avec le marché des plug - ins rainbond pour une collecte de journaux plus rapide
- Project summary --2 (basic use of jsup)
- Yum is too slow to bear? That's because you didn't do it
- Detailed explanation of contextclassloader
- Deep learning, thinking from one dimensional input to multi-dimensional feature input
- Zhiniu stock project -- 05
- 项目总结--04
猜你喜欢
. Net program configuration file operation (INI, CFG, config)
GPS坐标转百度地图坐标的方法
Skywalking8.7 source code analysis (II): Custom agent, service loading, witness component version identification, transform workflow
SQL实现将多行记录合并成一行
Zhiniu stock project -- 04
Kubernetes cluster environment construction & Deployment dashboard
Oauth2.0 - Introduction and use and explanation of authorization code mode
Code generator - single table query crud - generator
Loss function in pytorch multi classification
Project summary --04
随机推荐
从 Amazon Aurora 迁移数据到 TiDB
1. Sum of two numbers
Clickhouse learning notes (I): Clickhouse installation, data type, table engine, SQL operation
What's the difference between using the Service Worker Cache API and regular browser cache?
Common interview questions
Yum is too slow to bear? That's because you didn't do it
Tabbar settings
ODL framework project construction trial -demo
Project summary --2 (basic use of jsup)
表达式的动态解析和计算,Flee用起来真香
认识弹性盒子flex
致即将毕业大学生的一封信
Get a screenshot of a uiscrollview, including off screen parts
Une exploration intéressante de l'interaction souris - pointeur
Mysql database binlog log enable record
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
PMP笔记记录
Leetcode solution - 02 Add Two Numbers
【C#/VB.NET】 将PDF转为SVG/Image, SVG/Image转PDF