view bin/en2sv @ 11215:546afb16791b

<b_jonas> `` cd share/mtg && <MagicCompRule-20170925.txt tr -d \\\\r | iconv -f cp1252 -t utf8 > rules.txt
author HackBot
date Wed, 04 Oct 2017 11:40:44 +0000
parents c989a1669243
children
line wrap: on
line source

#!/usr/bin/perl
use Encode; binmode *$_,"encoding(utf8)" for STDIN,STDOUT; local$/; for (split//,<STDIN>) { rand(5)<3 and y/EOeo/\xc4\xc5\xe4\xe5/; print }