I wrote this two lines to persistence.xml
Code:
<property name="hibernate.connection.characterEncoding" value="utf8" />
<property name="hibernate.connection.charSet" value="utf8" />
and it works, first line is from some forum second from documentation
i think only second is required.
anyway no w i've got another problem. i use page params that contain non english chars
parameters are being passed to backing bean variable.
i took debugger to checkout what's going on and found out that during render phase
function setParamName is being called a least three time,
first time param is empty string, second it contains string with proper charaters
and third it contain string with some strange characters...