databasir icon indicating copy to clipboard operation
databasir copied to clipboard

导出为png时乱码

Open ljl0303 opened this issue 3 years ago • 8 comments

ljl0303 avatar Jun 08 '22 03:06 ljl0303

@ljl0303

提供一下数据库的版本信息以及使用的 databasir 版本,乱码指的是导出的字段乱码还是注释乱码?

vran-dev avatar Jun 08 '22 05:06 vran-dev

注释乱码 5.7.17-log dabasir使用的是最新的docker镜像 docker pull vrantt/databasir:latest

ljl0303 avatar Jun 08 '22 05:06 ljl0303

image

ljl0303 avatar Jun 08 '22 05:06 ljl0303

@ljl0303 文件导出默认使用的 UTF-8 编码,你可以确认 mysql 的编码是不是 UTF-8

show variables like "%colla%";

image

show variables like "%char%";

image

vran-dev avatar Jun 08 '22 06:06 vran-dev

image

ljl0303 avatar Jun 08 '22 06:06 ljl0303

且仅png导出会出现注释乱码

ljl0303 avatar Jun 08 '22 06:06 ljl0303

目前我还没有复现这个问题,我稍后将版本降到 5.7.17-log 再试试

vran-dev avatar Jun 09 '22 08:06 vran-dev

我的8.0.27也乱码

chuankang avatar Oct 12 '22 03:10 chuankang