xbmc/xbmc — pull request #3050 by jhsrennie (2013-08-04 19:58:56+00:00)
Title: Use utf8 for text pasted from the clipboard

Change the g_Windowing paste function to return a utf8 string. I've also renamed the function to GetClipboardText to make it clear what is being returned (we might want to paste other objects, e.g. media files, in the future.

I've used g_charsetConverter to do the utf8 to unicode conversions. This means using a CStdStringA in place of std::string.