Leafpad is a fast and convenient text editor in my work.
I use kate and nano for more complex or important text editing.
I got leafpad via sbopkg and first learned of it via playing with LXDE.
Recently on my slackware-64-current-multilib system,
when files are saved through leafpad, the first eight characters
are replaced with hexadecimal zeroes.
here is a test example. before is the file. after is the same file opened and saved with leafpad
its a simple file with two lines
Code:
bash-4.3$ hexdump before
0000000 3231 3433 3635 3837 610a 6362 6564 6766
0000010 0a68
0000012
bash-4.3$ hexdump after
0000000 0000 0000 0000 0000 610a 6362 6564 6766
0000010 0a68
0000012
I have activated scim and my setting in lang.sh is "export LANG=en_US.UTF-8"
which is the way I have been running for about 2 years now.
I don't find any report of this problem.