From 6234b93813a0c2f1a04d7cc294ad9c194d4e229f Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Tue, 13 Sep 2016 09:21:51 +0200 Subject: SDL: Add a fixme regarding the encoding of the string returned by getTextFromClipboard --- backends/platform/sdl/sdl.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backends/platform/sdl/sdl.cpp b/backends/platform/sdl/sdl.cpp index a175c530ee..74c40ade10 100644 --- a/backends/platform/sdl/sdl.cpp +++ b/backends/platform/sdl/sdl.cpp @@ -479,6 +479,9 @@ Common::String OSystem_SDL::getTextFromClipboard() { char *text = SDL_GetClipboardText(); Common::String strText = text; SDL_free(text); + + // FIXME: The string returned by SDL is in UTF-8, it is not clear + // what encoding should be used for the returned string. return strText; #else return ""; -- cgit v1.2.3