Mojibake alpha 1

Just rewritten it in C