I have a mysql database with one table 'data' and one field in that table 'news'. This field 'news' contains a record 'pájaro'

The database collation is utf8_spanish_ci
The field collation is utf8_spanish_ci

I do a query from php.

Why this simple query, SELECT * FROM data WHERE news='pajaro', is not working and however SELECT * FROM data WHERE news='pájaro' is working?

The collation should force to obtain the same result with both queries.

What's wrong with this?