开发者

Can the characterset in TSynedit in Lazarus be set?

开发者 https://www.devze.com 2023-01-15 05:30 出处:网络
I use TSynedit component in a program. I noticed when I use SynEdit1.Lines.SaveToFile(loadedfile)开发者_如何学Go;, then it is saved in utf8 encoding.

I use TSynedit component in a program. I noticed when I use SynEdit1.Lines.SaveToFile(loadedfile)开发者_如何学Go;, then it is saved in utf8 encoding. Is there a way to change that?. I changed font.charset property of Synedit1 object but it made no difference. Any ideas?


Maybe there are additional helper routines, but in general FPC/Lazarus haven't implemented the extra parameter to various .save* methods that Delphi/Unicode implemented

0

精彩评论

暂无评论...
验证码 换一张
取 消