当前位置:网站首页>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 .
边栏推荐
- 1. Somme des deux nombres
- Svn branch management
- Openresty best practices
- CKA certification notes - CKA certification experience post
- 智牛股项目--04
- Skywalking8.7 source code analysis (I): agent startup process, agent configuration loading process, custom class loader agentclassloader, plug-in definition system, plug-in loading
- 輕松上手Fluentd,結合 Rainbond 插件市場,日志收集更快捷
- 从小数据量分库分表 MySQL 合并迁移数据到 TiDB
- BeanDefinitionRegistryPostProcessor
- PHP用ENV获取文件参数的时候拿到的是字符串
猜你喜欢

Simple understanding of ThreadLocal

Kubernetes cluster environment construction & Deployment dashboard

Kubesphere - build Nacos cluster

Fluentd facile à utiliser avec le marché des plug - ins rainbond pour une collecte de journaux plus rapide

YOLOV1学习笔记

Convolution operation in convolution neural network CNN

Merge and migrate data from small data volume, sub database and sub table Mysql to tidb

Analysis of Clickhouse mergetree principle

Method of converting GPS coordinates to Baidu map coordinates

Support vector machine for machine learning
随机推荐
Pytorch dataloader implements minibatch (incomplete)
冒泡排序的简单理解
There is no one of the necessary magic skills PXE for old drivers to install!!!
智牛股项目--04
88. 合并两个有序数组
Nacos service installation
Oauth2.0 - user defined mode authorization - SMS verification code login
轻松上手Fluentd,结合 Rainbond 插件市场,日志收集更快捷
Jedis source code analysis (I): jedis introduction, jedis module source code analysis
Decision tree of machine learning
Kubernetes notes (IX) kubernetes application encapsulation and expansion
Disruptor learning notes: basic use, core concepts and principles
使用conda创建自己的深度学习环境
Kubernetes cluster environment construction & Deployment dashboard
Solve the problem that Anaconda environment cannot be accessed in PowerShell
BeanDefinitionRegistryPostProcessor
phpstudy设置项目可以由局域网的其他电脑可以访问
[set theory] equivalence relation (concept of equivalence relation | examples of equivalence relation | equivalence relation and closure)
1. Somme des deux nombres
Mysql5.7 group by error