Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: DonSixto on December 27, 2006, 02:11:19 pm

Title: source code with strange characters
Post by: DonSixto on December 27, 2006, 02:11:19 pm
Hi,
I am porting c++ source code from windows to linux and I am having problems when trying to edit the source code in linux.
I'm using C::B svn 3357 unicode under Fedora Core 6 (the one I get from the Extras repository).
When I try to edit a source code with characters ñ, á, é, etc. in linux I don't see anything in the editor. But it compiles the file well.
If I edit the file with another editor, it shows a dot in place of that caracter, and when I replace those dots with the corresponding character, then I can edit the file with C::B.
My source code is old, some of them from 1992. I used to edit it with an oem char set editor (not an ansi one). I guess that's the reason.
But, is it possible to have the C::B text editor to show a dot or something when it does not understand a text file, instead of not showing nothing ?
This feature would save me a lot of time when porting applications to linux.
The same file can be viewed with the C::B editor svn 3407 under win xp, so the problem is in the linux version I'm using.
Thanks in advance.
Kind regards
Title: Re: source code with strange characters
Post by: killerbot on December 27, 2006, 02:14:14 pm
Edit -> File encoding -- choose the correct one
Title: Re: source code with strange characters
Post by: DonSixto on December 27, 2006, 02:34:01 pm
Thank you.
It works well with ascii (iso-8859-1).
Great IDE !!   8)

kind regards