Google interview question

Utf-8 encoding and implement a online key board