FindAllFiles: Files not found with "special" characters e.g. german ß
Original Reporter info from Mantis: laz-andy
-
Reporter name:
Original Reporter info from Mantis: laz-andy
- Reporter name:
Description:
FindAllFiles('/any','*.bmp') does not find a File Named "ß.bmp".
Steps to reproduce:
* Create a File named "ß.bmp"
* call "FindAllFiles('/any','*.bmp')"
* ß.bmp is not found!
Additional information:
*The BUG is in masks.pas in TMask.Matches.
-> The file is converted to UpperCase ß.bmp -> SS.bmp
-> The variable L is the Length of AFileName. In this special case L gets wrong.
-> The attached Patch should fix this.
Mantis conversion info:
- Mantis ID: 26790
- OS: linux
- OS Build: debian 8
- Build: dfsg-1 / gtk2
- Platform: x86_64
- Version: 1.2.4
- Fixed in revision: r46339 (#1d7f7a7b)
- Target version: 1.2.6