I checked it out. Standard is chr(10) only. If there's a chr(13) put in, it's
due to the mail being sent by a windows system. Problem is, it throws off the
line length just a little. I'm probably going to strip out all chr(13) before
doing the wrap. That should make it all 'legal'.
Michael Dinowitz
Finding technical solutions to the problems you didn't know you had yet
> I'm not sure about email, but I know that for ascii text it's dependent on the
OS.
>
> unix: LF
> mac: CR
> dos/win: CR+LF
>
> -Kevin
> ----- Original Message -----
> From: Michael Dinowitz
> To: CF-Community
> Sent: Monday, September 22, 2003 6:26 AM
> Subject: (OT) chr(13) in email?
>
>
> This is a strange question but one I kind of need answered (and I thought we
> talked about it before). What is the standard for email messages? Chr(13),
> chr(10) or both? I was under the general impression it was chr(10), which is a
> new line character at the beginning of a line. Am I correct in this?
> Thanks
> Basically, I'm trying to write the best wrap function in existence and I'm
> getting into some tiny issues. No wrap function out there seems to be dealing
> with them all properly. :(
> Michael Dinowitz
> Finding technical solutions to the problems you didn't know you had yet
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
[
Todays Threads] [
This Message] [
Subscription] [
Fast Unsubscribe] [
User Settings]