[fpc-devel] RTL: file system functions results encoding

Vladimir vvzh.home at gmail.com
Mon Mar 10 17:05:20 CET 2008


Hi,

Working with SysUtils.FindFirst and FindNext routines I found that the encoding
of resulting TSearchRec record fields differs across platforms.
Under Windows it seems to be ANSI and under Linux it seems to be UTF-8.
The problem is that application expects the same encoding everywhere.
Is there any way to determine the resulting encoding to convert fields
to the encoding I need?




More information about the fpc-devel mailing list