Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

写入txt中不是文字 #8

Open
wenbo-li-ee opened this issue Dec 25, 2022 · 1 comment
Open

写入txt中不是文字 #8

wenbo-li-ee opened this issue Dec 25, 2022 · 1 comment

Comments

@wenbo-li-ee
Copy link

请问txt中写入的是这种编码怎么办?
b'41\xe3\x80\x81\xe6\xb1\x9f\xe8\x8b\x8f\xe7\x9c\x81\xe6\x89\xac\xe5\xb7\x9e\xe5\xb8\x82\xe4\xb8\xad\xe7\xba\xa7\xe4\xba\xba\xe6\xb0\x91\xe6\xb3\x95\xe9\x99\xa2\xe5\x8f\x91\xe5\xb8\x838\xe8\xb5\xb7\xe6\x9c\x8d\xe5\x8a\xa1\xe4\xbf\x9d\xe9\x9a\x9c\xe4\xb8\xad\xe5\xb0\x8f\xe5\xbe\xae\xe4\xbc\x81\xe4\xb8\x9a\xe5\x81\xa5\xe5\xba\xb7\xe5\x8f\x91\xe5\xb1\x95\xe5\x85\xb8\xe5\x9e\x8b\xe6\xa1\x88\xe4\xbe\x8b\xe4\xb9\x8b\xe4\xb8\x83\xef\xbc\x9a\xe6\x89\xac\xe5\xb7\x9e\xe5\xb8\x82\xe5\xbc\x80\xe5\x8f\x91\xe5\x8c\xba\xe6\x9f\x90\xe7\xbb\x8f\xe8\x90\xa5\xe9\x83\xa8\xe4\xb8\x8e\xe6\x9f\x90\xe4\xbf\x9d\xe9\x99\xa9\xe8\x82\xa1\xe4\xbb\xbd\xe6\x9c\x89\xe9\x99\x90\xe5\x85\xac\xe5\x8f\xb8\xe6\x89\xac\xe5\xb7\x9e\xe4\xb8\xad\xe5\xbf\x83\xe6\x94\xaf\xe5\x85\xac\xe5\x8f\xb8\xe6\xb6\x89\xe7\x96\xab\xe6\x83\x85\xe4\xbf\x9d\xe9\x99\xa9\xe7\x90\x86\xe8\xb5\x94\xe6\xa1\x88\xe2\x80\x94\xe2\x80\x94\xe5\xa6\xa5\xe5\x96\x84\xe5\xae\xa1\xe7\x90\x86\xe6\xb6\x89\xe7\x96\xab\xe6\x83\x85\xe4\xbf\x9d\xe9\x99\xa9\xe5\x90\x88\xe5\x90\x8c\xef\xbc\x8c\xe6\x8a\xa4\xe8\x88\xaa\xe4\xb8\xad\xe5\xb0\x8f\xe5\xbe\xae\xe4\xbc\x81\xe4\xb8\x9a\xe5\xa4\x8d\xe5\xb7\xa5\xe5\xa4\x8d\xe4\xba\xa7' 95b2ca8d4055fce16601f6fb461bb3ae0cd8f2c8caf71853bdfb

@W3en2g
Copy link

W3en2g commented Aug 24, 2023

这是二进制编码, 你看前面有个b代表binary 转换回来就行了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants