Mercurial > repo
view bin/toutf8 @ 8920:f3df671dd58f
<oerjan> le/rn busy beaver growth/No one can compute the length of a wisdom entry sufficient to explain busy beaver growth.
author | HackBot |
---|---|
date | Mon, 15 Aug 2016 01:09:36 +0000 |
parents | e037173e0012 |
children |
line wrap: on
line source
#!/usr/bin/python import sys import chardet x = sys.stdin.read() enc = chardet.detect(x)['encoding'] sys.stdout.write(x.decode(enc).encode('UTF-8'))