Add UTF-8 encoding filter (BT-56)

Pull request for BT-56 (https://jira.osiam.org/browse/BT-56)
This fixes the encoding problem