when editing a file with unrecognized encoding and save, the file content will be removed automatically, so file content is lost.
step to reproduce:
Like mentioned on the forum, please add the file as an attachment.
Here is the sample file, thanks:
Saving file is now always done to a temporary file
Thanks fixing it so quick.
Reviewing of this issue, it is because of codelite could recognize only 1 encoding at a time, comparing to other editors such as vim, sublime text etc, they supports multiple encodings and will recognize the file encoding intelligently, that should be a great feature if it is supported.