Hi,
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.
The encoding difference between consol and xterm is only:
XTERM_LOCALE=de_DE.ISO8859-15
and the termcap var belonging to it.
OS is FreeBSD 9.1-STABLE amd64
Complete locale settings:
console:
LC_CTYPE=de_DE.ISO8859-15
LC_COLLATE=de_DE.ISO8859-15
LC_TIME=de_DE.ISO8859-15
LC_NUMERIC=en_US.ISO8859-1
LC_MONETARY=de_DE.ISO8859-15
LC_MESSAGES=en_US.ISO8859-1
xterm:
TERMCAP=xterm|X11 terminal emulator:...
XTERM_LOCALE=de_DE.ISO8859-15
LC_MESSAGES=en_US.ISO8859-1
LC_CTYPE=de_DE.ISO8859-15
LC_TIME=de_DE.ISO8859-15
LC_COLLATE=de_DE.ISO8859-15
LC_NUMERIC=en_US.ISO8859-1
LC_MONETARY=de_DE.ISO8859-15
What is the exact problem here and how can it be solved?
