GetChars implementation