File functions from the SysUtils unit don't support Unicode file names
Original Reporter info from Mantis: Vincent
-
Reporter name: Vincent Snijders
Original Reporter info from Mantis: Vincent
- Reporter name: Vincent Snijders
Description:
The standard file name functions and procedures (for a list see http://lazarus-ccr.sourceforge.net/docs/rtl/sysutils/filenameroutines.html ) don't support file names with Unicode characters that are not part of the current ansi code page. Such file names cannot be represented in an ansistring.
For example if a file is created on disk with the following path:
C:\Projects\Chiness and Cyrillic\国 Кириллица\project1.lpi
You cannot write code to check the existence of such file, becaue there is no ansi code page that contains both Chinese and Cyrillic characters.
Mantis conversion info:
- Mantis ID: 12923
- OS: Windows
- OS Build: XP Home SP2
- Platform: i386
- Version: 2.3.1
- Fixed in version: 3.0.0
- Fixed in revision: 25432 (#cde2d1b8)
- Monitored by: » evd (Evgeny Duryagin)