handling unicode messages in debug window