View Single Post
Old 02-20-2008, 05:37 PM   #322
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by tompe View Post
Just save it in a variable. "my $rawhtml = $text;" and do it outside the $opt_rawhtml if statement.

binmode is used because Windows add chacacters to the output without it. So the filepos pointer will not be correct so I cannot debug without binmode.
After 'mobi2html' fixes all the filepos pointers, what if I wanted (need) those Windows characters in the STDOUT output? Could I simulate it using the variable $rawhtml without printf $text?

What is the [char] code that is used in the .pdb (text) for para breaks? It is '\n' in the rawhtml text output to STDOUT.
nrapallo is offline   Reply With Quote