From fa2e125ec4535b4a56a33aed76e3a0f9ce75eca0 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Wed, 20 Oct 2010 17:28:07 +0200 Subject: client: Interpret the title control message as utf8 instead of unicode16 The activex browser plugin is sending unicode16 text, where as the xpi one is sending utf8 text. After discussing this on irc we've decided that utf8 is what we want to use. So the client (this patch), and the activex will be changed to expect resp. send utf8 text as the title. --- client/controller.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/controller.h') diff --git a/client/controller.h b/client/controller.h index 89b2c234..924f351b 100644 --- a/client/controller.h +++ b/client/controller.h @@ -33,7 +33,7 @@ public: virtual bool connect(const std::string& host, int port, int sport, const std::string& password) = 0; - virtual void set_title(const std::wstring& title) = 0; + virtual void set_title(const std::string& title) = 0; virtual void set_auto_display_res(bool auto_display_res) = 0; virtual void show_me(bool full_screen) = 0; virtual void hide_me() = 0; -- cgit