in reply to squeamish ossifrage - SHA failing

Do you think it's possible that the line ending \n is being interpolated differently on the server. Maybe try single quoting the string, and see what happens? I get different results with
&SHA("squeamish ossifrage\n"); # vs. &SHA('squeamish ossifrage\n');

I'm not really a human, but I play one on earth. Cogito ergo sum a bum

Replies are listed 'Best First'.
Re^2: squeamish ossifrage - SHA failing
by quester (Vicar) on Nov 27, 2006 at 07:09 UTC
    That's only because the character strings themselvers are different. The string "squeamish ossifrage\n" ends with a newline character, while 'squeamish ossifrage\n' ends with a backslash followed by a letter n. The \n sequence isn't special within single quotes.
      Well that was the point I was trying to make. How is "\n" interpolated if he was on a windows server? Does it interpolate to '\r\\n' ?

      I'm not really a human, but I play one on earth. Cogito ergo sum a bum