Weird string slicing in korean

See also this discussion: