I would like to write a script that includes a selection from the attribute table. But my data is in Hungarian, so it includes special characters like: öüőűáéí
So when there is non of these in the query it executes, otherwise I get this:
Is there a setting or something to solve this?
ISO 8859-2
? You can change this by right-clicking your layer and going toProperties > General > Layer info > Data source encoding
. The attribute table should show the characters correctly. Then test to see if your query works =)