Web requests using UTF8

How can I configure my php page to receive special characters? (É, ç, á, etc) for connection, I use the web component. On my server I have both pages, as shown below:

Dbclass.php

and

query.php