未验证 提交 9e31a606 编写于 作者: J Jackwaterveg 提交者: GitHub

set default encoding utf8 for win (#1101)

Co-authored-by: NKP <109694228@qq.com>
上级 db0db0d2
...@@ -11,9 +11,13 @@ ...@@ -11,9 +11,13 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
import _locale
from .asr import ASRExecutor from .asr import ASRExecutor
from .base_commands import BaseCommand from .base_commands import BaseCommand
from .base_commands import HelpCommand from .base_commands import HelpCommand
from .cls import CLSExecutor from .cls import CLSExecutor
from .st import STExecutor from .st import STExecutor
from .tts import TTSExecutor from .tts import TTSExecutor
_locale._getdefaultlocale = (lambda *args: ['en_US', 'utf8'])
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册