This is a little helper which restrict textfield's length, and handle phonetic symbol correctly.