I have updated an application from Delphi 2007 to Delphi 2010, everything went fine, except one statement that compiled fine but not working which is:
If Edit1.T
CharInSet is useless for the characters above 255. In your case you should use
case C of 'S','س' : ShowMessage('Found'); end;