解决粘贴中文字符串乱码问题

 if ((ssCtrl in Shift) AND (Key = ord('V'))) then
  begin
    i_xm.Clear;
    str:=Trim(clipboard.AsText);
    i_xm.Text:=UTF8Decode(str);
  end;

  

原文地址:https://www.cnblogs.com/samsonleung/p/5031848.html