User forums > Help

Solution: Cpp-files are empty

(1/2) > >>

Dee:
Hello,

I got it working to use wxWidgets 2.4 but then I had another error. Some of my (under Windows created) cpp-files were empty or better they were shown as empty if I opened them in C::B. I could open them with gedit or something else and everything were fine.

I thought it may have something to do with this but did not understand how the problem was solved there.

So, I have the following simple idea: I just opened these files in gedit, choose "File -> Save as" and save them as UTF-8 instead of ISO-8859-15. After this the files are not empty anymore in C::B.

I don't know if this will help anyone but in case some newbie like me has the same problems, here's the solution. :)

Greetings, Dee

PS: Using Unbuntu 5.10 and latest C::B-deb for this.

mandrav:
You probably didn't know about "Edit->File encoding"?

Dee:
Probably not. ;) But I have no "Edit -> File encoding" (see attachment).

Greetings, Dee

[attachment deleted by admin]

sethjackson:
What version of C::B do you have? You need a recent nightly build, or a build from SVN HEAD for this feature. :)

Dee:
I use the one from the download page for Linux or better Ubuntu Breezer. I never use unstable software!

BTW: I haven't found a nightly build for Linux... I only found "Linux : not supported yet" in every thread.

So my solution from the first posting is the best I can find... :)

Greetings, Dee

Navigation

[0] Message Index

[#] Next page

Go to full version