Just curious, as I do not use Linux, do you guys need to add a unit like cwstring to have a WideStringManager?
@NonSpillable,
what do you get for:
DefaultSystemCodePage
DefaultFileSystemCodePage
DefaultRTLFileSystemCodePage?
Are you really using Lazarus: 1.6.2 and not 1.8.2 or that's just a typo?
Your testdir.zip testdir.7z do not look right on my side: Win using 7z.
Edit:
Some of your LC_* values are between quotation marks and some without, I don't know if that makes a difference?
Doing a quick search gave me the impression that the values you see for LC_* in a console could be different than their counterpart for a GUI.
I've tried those, thanks to Internet searches for the problem, but to no avail.
However, the problem seems gone now!
The only thing I did was to run a "dpkg-reconfigure locales", and it solved the problem! What the problem was, what kind of locale some part of the system thought I had, is probably lost to history. Strange thing that it only affected lazarus programs, not my programs in gcc or any other installed software.
No, I double checked. Version 1.6.2 is correct. I'm using Debian and one well known "issue" with Debian is old packages. A package only makes its way to Debian if it's old and stable. It's both a pain and a blessing.
Edit: Could there be any problems with EXT4, with linux eller other things, than lazarus? But lazarus is the only thing not working (that is, FindFirst/FindNext).
FindFirst/FindNext work perfectly well. Your directory and file names are just plain wrong.
I don't understand why you don't see it in your Caja file manager.
See the attached screenshot of my Dolphin file manager.
1) Side note, but since early 2000 I always thought that the time was ripe for 64-bit, but no, every single time I try 64-bits linux it let me down, something breaks, and breaks bad. This time it was lazarus. Other times it has been CAD-software, visualization software, media players/codecs, etc, etc, etc.
Nonsense. I have used 64-bit Lazarus on Linux for about 7-8 years. Works well.
Well, the names are correct in Caja, in Thunar and in the console. The reason I think is that encoding isn't really a thing with file names. There seem to have been something that forces lazarus (and perhaps 7z even if I cannot spot a problem) to use a "locale" or "codepage" that is nonsense. As said, a dpkg-reconfigure solved the lazarus problem.
PS! I didn't say that lazarus was broken consistently on x64, only that
some shit always happen with x64. This time it happens to be lazarus, but not other times.