Here's a breakdown of the phrase:
* ¿Quién? - Who?
* te - you (informal)
* dijo - told
* cómo - how
* se escribe - is written
* esto - this
Translation: "Who told you how to write this?"
The question is asking who gave someone instructions on how to write something.