[Lazarus] file name encoding

Marco van de Voort marcov at stack.nl
Mon Dec 15 21:14:12 CET 2014


On Sun, Dec 14, 2014 at 05:21:15PM +0100, Marc Santhoff wrote:
> hopefully this is not too far OT i dare to ask:
> 
> When reading directories and files using FindFirst()/FindNext() using
> system encoding my program hangs on german '?' (eszett).
> 
> I'm using fpc 2.6.2 and lazarus 1.2.0, so string encoding should
> normally be the same as the system encoding. On the console nothing is
> wrong, but in an xterm it fails.

I can't imagine why it would go wrong, findfirst/findnext in 2.6.x are afaik
binary, without encoding conversion. 

Did you try to strace it ?




More information about the Lazarus mailing list