Mechaflash Posted April 24, 2013 Share Posted April 24, 2013 (edited) There's almost no formatting (except for the header and I believe that's the problem I'm running into). I can do a filereadline (fileread fails to get past ÐÏࡱá) and it gives me everything but the first line... which is what I want to read. If I do a filereadline from lines 1-2 I get ÐÏࡱá HOWARD COUNTY PUBLIC RECORDS WARRANTY DEED What I should've gotten (based on opening it in notepad) was ÐÏࡱá > þÿ b e þÿÿÿ a ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿì¥Á € ð¿ €> bjbjBrBr 8^ r6 ÿÿ ÿÿ ÿÿ ·   ÿÿÿÿ 8 Q , } T Å+ h Ñ Ñ Ñ Ñ Ñ Ð Ð Ð D+ F+ F+ F+ F+ F+ F+ $ -- ¢ Ï/ ˆ j+ Ð Ð Ð Ð Ð j+ Ñ Ñ ÿ + ! ! ! Ð b Ñ Ñ D+ ! Ð D+ ! ! ! Ñ ÿÿÿÿ âã(WÆÍ 2 ¢ ! 0+ •+ 0 Å+ ! W0 Ô @ W0 ! ! W0 (! Ð Ð ! Ð Ð Ð Ð Ð j+ j+ ! Ð Ð Ð Å+ Ð Ð Ð Ð ÿÿÿÿ ÿÿÿÿ ÿÿÿÿ ÿÿÿÿ ÿÿÿÿ ÿÿÿÿ ÿÿÿÿ ÿÿÿÿ ÿÿÿÿ ÿÿÿÿ ÿÿÿÿ ÿÿÿÿ ÿÿÿÿ ÿÿÿÿ ÿÿÿÿ ÿÿÿÿ ÿÿÿÿ W0 Ð Ð Ð Ð Ð Ð Ð Ð Ð Â Ë : NOV 10, 2012 HALL COUNTY AREA BULLETIN PAGE 1 HOWARD COUNTY PUBLIC RECORDS WARRANTY DEED Opening the file in notepad, the line has a ton of encoding (a lot more than what was outputted by filereadline) and it eventually gets to a regular string, however my output never gets to that string. Any ideas why filereadline won't get to the actual end of the line and stops at what was outputted? Edited April 25, 2013 by Mechaflash Spoiler “Hello, ladies, look at your man, now back to me, now back at your man, now back to me. Sadly, he isn’t me, but if he stopped using ladies scented body wash and switched to Old Spice, he could smell like he’s me. Look down, back up, where are you? You’re on a boat with the man your man could smell like. What’s in your hand, back at me. I have it, it’s an oyster with two tickets to that thing you love. Look again, the tickets are now diamonds. Anything is possible when your man smells like Old Spice and not a lady. I’m on a horse.” Link to comment Share on other sites More sharing options...
kylomas Posted April 24, 2013 Share Posted April 24, 2013 Mechaflash, Have you tried this kind of this (and other modes) $hfl = fileopen('myfile',16) ; binary mode ConsoleWrite(BinaryToString(fileread($hfl)) & @LF) fileclose($hfl) kylomas Forum Rules Procedure for posting code "I like pigs. Dogs look up to us. Cats look down on us. Pigs treat us as equals." - Sir Winston Churchill Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now