Skip to content

Commit

Permalink
SDL: Add a fixme regarding the encoding of the string returned by get…
Browse files Browse the repository at this point in the history
…TextFromClipboard
  • Loading branch information
bgK committed Sep 13, 2016
1 parent 9e502bf commit 6234b93
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backends/platform/sdl/sdl.cpp
Expand Up @@ -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 "";
Expand Down

0 comments on commit 6234b93

Please sign in to comment.