Use UTF-8 codec for window title string.

[TIMOB-13492]