SDL: Add a fixme regarding the encoding of the string returned by getTextFromClipboard

This commit is contained in:
Bastien Bouclet 2016-09-13 09:21:51 +02:00
parent 9e502bf9aa
commit 6234b93813

View file

@ -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 "";