Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: gbuergisser on June 25, 2010, 09:13:36 am

Title: IBM-850 Codepage?
Post by: gbuergisser on June 25, 2010, 09:13:36 am
I've installed CB from source code on Fedora 11. We have a lot of IBM-850 encoded source code (historical reasons) I'd like to edit using CB. But unfortunately in the editors preferences I cannot choose IBM-850. Why is IBM-850 missing? Any ideas for a workaround?
I've searched the forums but haven't found anything appropriate.
Title: Re: IBM-850 Codepage?
Post by: Biplab on June 25, 2010, 01:10:09 pm
You can use iconv to convert IBM-850 code page files to UTF-8 or any other encoding which C::B recognizes. Later you can convert edited files back to IBM-850 encoding using iconv again. I agree that this is not an elegant solution. However this workaround should solve your problem.

Refer following page for more details-
Quote
http://www.gnu.org/software/libiconv/documentation/libiconv/iconv.1.html