Mercurial > repo
view bin/toutf8 @ 3007:bb9776affdeb
<Phantom_Hoover> learn composition is where you take morphisms such as Phantom and Hoover from the Pha category and combine them together: Hoover \xe2\x88\x98 Phantom.
author | HackBot |
---|---|
date | Fri, 31 May 2013 15:59:05 +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'))