Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Hum.. Sounds like possibly Line Breaks as well. After all .pdf files are just text files. Although if there are some images in there, that may cause in issue. Make sure that you are setting your like breaks correctly as well. On the Windows OS its: \r\n and on Unix/Linux its: \n. It's \r on Macintosh systems incause you're curious :)
If there are no images in the PDF file, then you are fine. If there are, then make sure you use binmode. It sounds like binmode isn't an issue cause it works on your linux system. The next thing is to play with your line breaks. Set $\ to "\r\n" on the windows system and "\n" on the linux system (Perl defaults to "\n"). Better yet, take a look at the file on the WinNT box. You may have \n in there, so you just need to convert "\n" to "\r\n" to get it working.

A couple things for ya to try out ;)

-- philip
We put the 'K' in kwality!

In reply to Re: Why doesn't file upload work under NT? by guice
in thread Why doesn't file upload work under NT? by Anonymous Monk

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2022-12-03 09:47 GMT
Find Nodes?
    Voting Booth?

    No recent polls found