SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Topic started by: zhangxudong on June 10, 2009, 02:26:13 am

Title: encode is error after Tools->Beautify
Post by: zhangxudong on June 10, 2009, 02:26:13 am
I'm using slickedit 13.0.2 in Linux . I comment my code using Chinese. The Chinese in code will be bad encode when I use Tools->Beautify. After  testing several encode, I find UTF-8( not BOM ) will be error, UTF-8( with BOM ) is correct.
Code: [Select]
int main( int argc, char *argv[] )
{
    //最好的IDE:SlickEdit
    int i;
}
[code]
If save with utf8( not bom, no signature in slickedit ), it will be error after Tools->Beautify.
If save with utf8( with bom ), it will be correct after Tools->Beautify.

I must use utf8( not bom ) in Linux because gcc don't use utf8( with bom ).
Thanks.
[/code]
Title: Re: encode is error after Tools->Beautify
Post by: Lee on June 10, 2009, 01:13:18 pm
I've confirmed the issue with UTF-8, no signature using the beautifier.   I'll file a defect report and will try to address this in a future release.