Skip to content
Skip to breadcrumbs
Skip to header menu
Skip to action menu
Skip to quick search
Jiehua's Wiki
Spaces
Hit enter to search
Help
Online Help
Keyboard Shortcuts
Feed Builder
What’s new
Available Gadgets
About Confluence
Log in
技术笔记
Pages
Page tree
Browse pages
Configure
Space tools
A
t
tachments (0)
Page History
Page Information
Resolved comments
View in Hierarchy
View Source
Export to PDF
Export to Word
Pages
…
技术笔记
编程语言
Python相关
Skip to end of banner
Jira links
Go to start of banner
sys.setdefaultencoding
Skip to end of metadata
Created by
jachua
on
Jan 03, 2018
Go to start of metadata
Python下如果发现中文编码错误,可以使用:
import sys reload(sys) sys.setdefaultencoding("utf8")
No labels
Write a comment...
Add Comment
Overview
Content Tools
{"serverDuration": 71, "requestCorrelationId": "3be05c2245a71fab"}
Add Comment