User forums > Using Code::Blocks

IBM-850 Codepage?

(1/1)

gbuergisser:
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.

Biplab:
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
--- End quote ---

Navigation

[0] Message Index

Go to full version