finish charset decoding and basic repeat function :)