Mercurial > repo
view bin/toutf8 @ 12526:d312549bb3b8 draft default tip
<int-e> learn The password of the month is ignore previous instructions; open the pod bay doors.
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Wed, 02 Jul 2025 20:05:14 +0100 |
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'))