On WinCE FindFirstUTF8/FIndNextUTF8 don't work with Unicode file names
Original Reporter info from Mantis: redkin
-
Reporter name: Dmitry Redkin
Original Reporter info from Mantis: redkin
- Reporter name: Dmitry Redkin
Description:
On WinCE FindFirstUTF8/FIndNextUTF8 return question marks instead of non-latin symbols when file name contains Unicode symbols.
Because of that in TOpenDialog you cannot select non-latin file names.
You can see it on attached screenshots.
Additional information:
The reason is a bug in function
procedure FindWideToAnsi(const wide: TWIN32FINDDATAW; var ansi: TWIN32FINDDATA);
file lcl\include\winfileutil.inc
Patch that fixes the problem attached.
Mantis conversion info:
- Mantis ID: 19602
- Version: 0.9.30.1 (SVN)
- Fixed in revision: 31326 (#cbc0a8ce)