Hello,
I had a weird bug today : I've edited a regular C++ file, in ANSI.
When i compared that file with the previous version (i'm using svn), the old file was in ANSI but the recent one was seen as Baltic (Windows)... As a result, some chars are different (there are some comments in french with accents on "e" or on "a" that are replaced with baltic chars...).
When i open the file with any other editor (notepad++ or MS Visual C++ 2003), there is no problem...
I even tried to undo the modifications and to do them back from scratch but the result is the same : the file is seen as baltic... Weird ! Isn't it ?
And my modifications are really basic : i'm only adding spaces (correcting a few tabulations to make the code look clean
)
I've modified some other files the same day, the same way, but there is only this one file that bothers me...
Has anybody seen anything like that already ?
I know I just have to manually select ANSI in the editor to fix the problem, but the automatic detection of the file format seems to be a bit buggy...
I had a weird bug today : I've edited a regular C++ file, in ANSI.
When i compared that file with the previous version (i'm using svn), the old file was in ANSI but the recent one was seen as Baltic (Windows)... As a result, some chars are different (there are some comments in french with accents on "e" or on "a" that are replaced with baltic chars...).
When i open the file with any other editor (notepad++ or MS Visual C++ 2003), there is no problem...
I even tried to undo the modifications and to do them back from scratch but the result is the same : the file is seen as baltic... Weird ! Isn't it ?
And my modifications are really basic : i'm only adding spaces (correcting a few tabulations to make the code look clean

I've modified some other files the same day, the same way, but there is only this one file that bothers me...
Has anybody seen anything like that already ?
I know I just have to manually select ANSI in the editor to fix the problem, but the automatic detection of the file format seems to be a bit buggy...
Comment