Support non-ASCII queries in the SQL panel.

Fix #28.
Support non-ASCII SECRET_KEY settings.

Ref #28.