Page 1 of 1

Loading *.pb file problem

Posted: Fri Dec 01, 2006 6:10 pm
by va!n
I have some sources on my hd... one of my sources has the normal suffix .pb ... when i doubleclick this file, PB runs and the file will be open in the fileview window as hex... When i try to open the file via the menu and OpenFile... the same happens... when using a normal Editor, i can read the full source... so what the hell is going on there? (is it, becouse of some special chars in the datasection?) - Really very strange problem!

Re: Loading *.pb file problem

Posted: Sat Dec 02, 2006 9:27 am
by gnozal
va!n wrote:I have some sources on my hd... one of my sources has the normal suffix .pb ... when i doubleclick this file, PB runs and the file will be open in the fileview window as hex... When i try to open the file via the menu and OpenFile... the same happens... when using a normal Editor, i can read the full source... so what the hell is going on there? (is it, becouse of some special chars in the datasection?) - Really very strange problem!
Maybe those sources have a #Null byte separating the source from the footer, and are therefore interpreted by the editor as binary.

Posted: Sat Dec 02, 2006 12:11 pm
by va!n
the strange thing is, even when i copy/paste the source to a new opened IDE window and save it.... and try to reload this source, the same thing happens... :(

Posted: Sat Dec 02, 2006 1:21 pm
by Trond
What happens if you only copy a part of it?

Posted: Mon Dec 04, 2006 12:10 am
by freak
Your file must contain bytes outside of the printable character range (bytes 0-31, except newline and tab)
This is why it is detected as a binary file.

Posted: Mon Dec 04, 2006 9:17 am
by JCV
I also experience this when using original pb editor whenver I open irc core module of my problem. I also did copy then paste to editor.

But all its ok with jaPBe. :lol: