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

pull logs will raise encoding error when logs are not real utf8/gbk in SLS #27

Closed
wjo1212 opened this issue Apr 26, 2018 · 0 comments
Closed

Comments

@wjo1212
Copy link
Contributor

wjo1212 commented Apr 26, 2018

{'__source__': u'123', u'__FILE__': test.cpp', '__time__': 1524268797, "TaskJobsInfo:6:string": "\\n\xaa\\u0001\\b\xff\xff\xff\xff\xff\xff\xff\xff\xff\\u0001"
}

UnicodeDecodeError: 'utf8' codec can't decode byte 0xaa in position xx: invalid start byte

\xaa is latin1 encoding actually.

wjo1212 added a commit to aliyun/aliyun-log-python-sdk that referenced this issue Apr 26, 2018
wjo1212 added a commit that referenced this issue Apr 26, 2018
wjo1212 added a commit to aliyun/aliyun-log-python-sdk that referenced this issue Apr 27, 2018
wjo1212 added a commit that referenced this issue Apr 27, 2018
@wjo1212 wjo1212 closed this as completed May 30, 2018
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

1 participant