fix: gbk codec

This commit is contained in:
DevDengChao
2025-09-29 16:49:57 +08:00
parent e302dfd5b7
commit 9335b7a052

View File

@@ -24,6 +24,9 @@ from typing import Dict, Generator, Optional, Tuple, Union
from simple_ddl_parser import DDLParser
# 避免 Windows 系统使用默认的 GBK 编码
sys.stdout = open(sys.stdout.fileno(), mode='w', encoding='utf-8', buffering=1)
PREAMBLE = """/*
Yudao Database Transfer Tool