Mercurial > repo
view bin/toutf8 @ 8690:929553b45bd6
<wob_jonas> slashlearn napkin/A complement of small lemon-soaked paper napkins is essential for the comfort, refreshment, and hygiene of the passengers during the journey.
author | HackBot |
---|---|
date | Mon, 04 Jul 2016 19:37:06 +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'))