标签:ice conf server lines container class cli scroll bug
以下说明几个中文乱码的问题:
version: "3"
services:
pg-tds:
image: dalongrong/pgspider:tds
ports:
- "5432:5432"
environment:
- "POSTGRES_PASSWORD:dalong"
db:
image: microsoft/mssql-server-linux
environment:
- "ACCEPT_EULA=Y"
- "SA_PASSWORD=Dalong!123%"
- "MSSQL_LCID=2052"
- "MSSQL_COLLATION=Chinese_PRC_CI_AS"
ports:
- "1433:1433"
debug flags
以及dump file
[global]
tds version = auto
text size = 64512
client charset = UTF-8
dump file = /tmp/freetds.log
debug flags = 0xffff
tds fdw 官方文档也提供了一些关于处理编码的问题
https://docs.microsoft.com/zh-cn/sql/linux/sql-server-linux-configure-environment-variables?view=sql-server-2017
https://github.com/rongfengliang/tds-fdw-learning
https://github.com/tds-fdw/tds_fdw#notes-about-character-setsencoding
http://www.freetds.org/userguide/freetdsconf.htm
pgspider tds fdw sql server docker 镜像中文乱码问题解决
标签:ice conf server lines container class cli scroll bug
原文地址:https://www.cnblogs.com/rongfengliang/p/12291491.html