CharInSet doesn't work with non English letters?

前端 未结 5 695
北荒
北荒 2021-02-07 08:32

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         


        
5条回答
  •  梦如初夏
    2021-02-07 09:31

    Have you set the encoding of your source file to UTF-8 (right click to open the context menu)? (The default is ANSI iirc, which would not work.)

提交回复
热议问题