SDL: Add a fixme regarding the encoding of the string returned by getTextFromClipboard
This commit is contained in:
parent
9e502bf9aa
commit
6234b93813
1 changed files with 3 additions and 0 deletions
|
@ -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 "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue