Tiliote UTF8 SQL fix
Merge pull request #1823 from devlab-oy/hanna/tiliotesubstrfix

Tiliote UTF8 SQL fix