Skip to content
Snippets Groups Projects
Commit cf395086 authored by Санников Тимофей's avatar Санников Тимофей
Browse files

added errors

parent 2b9bb500
No related branches found
No related tags found
No related merge requests found
import sys
data = sys.stdin.buffer.read()
ans = data.decode().encode('latin1').decode('CP1251')
print(ans)
\ No newline at end of file
ans = data.decode().encode('latin1', errors='replace').decode('CP1251')
print(ans)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment