Fix #1: Slice based on byte length, not character length
Rev version