CrossPlatformCodecs.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:sublime-commandbox 作者: Ortus-Solutions 项目源码 文件源码
def force_decode(self, text):
        try:
            text = text.decode('utf-8')
        except UnicodeDecodeError:
            if sublime.platform() == "windows":
                text = self.decode_windows_line(text)
        return text
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号