Hm, strange. Did you try something like this?
Code:
var
   aux : string;
   auxUTF8 : UTF8string;
begin
     auxUTF8 := SDL_GetHint(PChar(UTF8Encode(SDL_HINT_RENDER_SCALE_QUALITY)));
     aux := auxUTF8;
end.