Author Topic: encode is error after Tools->Beautify  (Read 2800 times)

zhangxudong

  • Community Member
  • Posts: 23
  • Hero Points: 0
encode is error after Tools->Beautify
« 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]

Lee

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1299
  • Hero Points: 130
Re: encode is error after Tools->Beautify
« Reply #1 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.