Change encode to UTF-8 for window title. For properly storing national symbols.