http://qs321.pair.com?node_id=351116


in reply to Re: CGI-Attachment with many \0's
in thread CGI-Attachment with many \0's

Hi,

Are you using binmode when writing the files?

No, I thought that were only important when dealing with different platforms. And it ran fine on the Windowsmachine and with Windowsclients.

Are the local settings the same on both machines? (As soon as you mention RedHat, I think of locale problems).

And how much I fought with them! They made me XEmacs broken, but that's another story. The locale setting differs: the good box has

LANG="en_US.iso88591" SYSFONT="latarcyrheb-sun16"
the bad box has
LANG="en_US" SUPPORTED="en_US" SYSFONT="latarcyrheb-sun16"
Can _that_ be a problem??

Regards... Stefan
you begin bashing the string with a +42 regexp of confusion