ShellTreeView and unicode characters in paths
Original Reporter info from Mantis: Penilopa P
-
Reporter name: Anton
Original Reporter info from Mantis: Penilopa P
- Reporter name: Anton
Description:
When I use ShellTreeView in my localized Windows (my default system codepage=1251), when I observe folders with Cyrillic characters, they are shown as "???" in ShellTreeView. It is caused the latest (I used one near r.19403) trunk of compiler and rtl use codepage feature for ansistrings. So UTF8Encode prepares utf-8 string, but assignment change it to cp1251 (in my case) cause it is current system default cp. SysToUTF8 function does not work correctly too.
The bug in ShellTreeView can be fixed (see the patch)
Mantis conversion info:
- Mantis ID: 20434
- Version: 0.9.31 (SVN)
- Fixed in version: 0.9.31 (SVN)
- Fixed in revision: 32930 (#6c287991)
- Target version: 0.99.0