file contents were removed when encoding is not recognized
Posted: Thu Sep 01, 2016 7:43 am
Hi,
I am using codelite to edit some files with Chinese characters, sometimes the file is encoded with UTF8 and sometimes GBK (Windows936), I am could just chose ONLY one of the encoding in Preference -> Misc -> File font encoding. When chose UTF8 for example, then GBK encoded files content will not be recognized, then problem comes: if I edit this file and save in codelite, the whole file content will be removed automatically !!! User may lost importance file due to this problem.
Anyone know how to avoid this? or is it possible for Codelite to fix this bug?
thx~
I am using codelite to edit some files with Chinese characters, sometimes the file is encoded with UTF8 and sometimes GBK (Windows936), I am could just chose ONLY one of the encoding in Preference -> Misc -> File font encoding. When chose UTF8 for example, then GBK encoded files content will not be recognized, then problem comes: if I edit this file and save in codelite, the whole file content will be removed automatically !!! User may lost importance file due to this problem.
Anyone know how to avoid this? or is it possible for Codelite to fix this bug?
thx~