[WebDNA] Convert Carriage Return From DB to Plain Text File

This WebDNA talk-list message is from

2019


It keeps the original formatting.
numero = 114801
interpreted = N
texte = 2427 This is a multipart message in MIME format. ------=_NextPart_000_000B_01D572B2.33229FF0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Going bonkers trying to figure this out using [convertchars]. =20 As an example, we have a textarea with the following; =20 1st Line 2nd Line =20 It gets [url] when submitting to a DB and getting it back to display = either within a textarea box or just as a text in HTML format to display = in browser is no issue with the correct tags. We will get = =E2=80=A6=E2=80=A6 =20 1st Line 2nd Line =20 The same DB data when pushed to a plain text file (Writefile or Sendmail = message body) does not do the carriage thingy at all. =20 =20 As an example (1) =E2=80=A6. =20 [unurl][DB_data][/unurl] gives this result =E2=80=A6. =20 1st Line 2nd Line =20 =E2=80=A6.everything on one line. =20 =20 As an example (2) =E2=80=A6. =20 [convertchars][unurl][DB_data][/unurl][/convertchars] gives this result = =E2=80=A6. =20 1st Line
2nd Line =20 =E2=80=A6.everything on one line with br tag where a carriage return is = supposed to be. =20 =20 I think I need a custom conversion DB to get things right. Seen it = mentioned in archive Talklist that folks created called EmailMime.db, = etc. =E2=80=A6but cannot find it to test it out. =20 Anyone out there can help me out on this issue would be most = appreciated. Again, no issue DB/HTML or Textarea interchange. Just DB = output to plain text file =E2=80=A6how do I get the Db data to convert = stored carriage return correctly. =20 Many thanks folks Terry Nair =20 =20 =20 =20 =20 ------=_NextPart_000_000B_01D572B2.33229FF0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Going = bonkers trying to figure this out using = [convertchars].

 

As an = example, we have a textarea with the following;

 

1st Line
2nd Line

 

It gets = [url] when submitting to a DB and getting it back to display either = within a textarea box or just as a text in HTML format to display in = browser is no issue with the correct tags. We will get = =E2=80=A6=E2=80=A6

 

1st Line
2nd Line

 

The same DB = data when pushed to a plain text file (Writefile or Sendmail message = body) does not do the carriage thingy at all.

 

 

As an = example (1) =E2=80=A6.

 

[unurl][DB_da= ta][/unurl] gives this result =E2=80=A6.

 

1st Line 2nd Line

 

=E2=80=A6.eve= rything on one line.

 

 

As an = example (2) =E2=80=A6.

 

[convertchars= ][unurl][DB_data][/unurl][/convertchars] gives this result = =E2=80=A6.

 

1st Line<br>2nd Line

 

=E2=80=A6.eve= rything on one line with br tag where a carriage return is supposed to = be.

 

 

I think I = need a custom conversion DB to get things right. Seen it mentioned in = archive Talklist that folks created called EmailMime.db, etc. = =E2=80=A6but cannot find it to test it out.

 

Anyone out = there can help me out on this issue would be most appreciated. Again, no = issue DB/HTML or Textarea interchange. Just DB output to plain text file = =E2=80=A6how do I get the Db data to convert stored carriage return = correctly.

 

Many thanks = folks

Terry = Nair

 

 

 

 

 

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us ------=_NextPart_000_000B_01D572B2.33229FF0-- . Associated Messages, from the most recent to the oldest:

    
  1. RE: [WebDNA] Convert Carriage Return From DB to Plain Text File ("Terry Nair" 2019)
  2. Re: [WebDNA] Convert Carriage Return From DB to Plain Text File (Stuart Tremain 2019)
  3. [WebDNA] Convert Carriage Return From DB to Plain Text File ("Terry Nair" 2019)
2427 This is a multipart message in MIME format. ------=_NextPart_000_000B_01D572B2.33229FF0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Going bonkers trying to figure this out using [convertchars]. =20 As an example, we have a textarea with the following; =20 1st Line 2nd Line =20 It gets [url] when submitting to a DB and getting it back to display = either within a textarea box or just as a text in HTML format to display = in browser is no issue with the correct tags. We will get = =E2=80=A6=E2=80=A6 =20 1st Line 2nd Line =20 The same DB data when pushed to a plain text file (Writefile or Sendmail = message body) does not do the carriage thingy at all. =20 =20 As an example (1) =E2=80=A6. =20 [unurl][DB_data][/unurl] gives this result =E2=80=A6. =20 1st Line 2nd Line =20 =E2=80=A6.everything on one line. =20 =20 As an example (2) =E2=80=A6. =20 [convertchars][unurl][DB_data][/unurl][/convertchars] gives this result = =E2=80=A6. =20 1st Line
2nd Line =20 =E2=80=A6.everything on one line with br tag where a carriage return is = supposed to be. =20 =20 I think I need a custom conversion DB to get things right. Seen it = mentioned in archive Talklist that folks created called EmailMime.db, = etc. =E2=80=A6but cannot find it to test it out. =20 Anyone out there can help me out on this issue would be most = appreciated. Again, no issue DB/HTML or Textarea interchange. Just DB = output to plain text file =E2=80=A6how do I get the Db data to convert = stored carriage return correctly. =20 Many thanks folks Terry Nair =20 =20 =20 =20 =20 ------=_NextPart_000_000B_01D572B2.33229FF0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Going = bonkers trying to figure this out using = [convertchars].

 

As an = example, we have a textarea with the following;

 

1st Line
2nd Line

 

It gets = [url] when submitting to a DB and getting it back to display either = within a textarea box or just as a text in HTML format to display in = browser is no issue with the correct tags. We will get = =E2=80=A6=E2=80=A6

 

1st Line
2nd Line

 

The same DB = data when pushed to a plain text file (Writefile or Sendmail message = body) does not do the carriage thingy at all.

 

 

As an = example (1) =E2=80=A6.

 

[unurl][DB_da= ta][/unurl] gives this result =E2=80=A6.

 

1st Line 2nd Line

 

=E2=80=A6.eve= rything on one line.

 

 

As an = example (2) =E2=80=A6.

 

[convertchars= ][unurl][DB_data][/unurl][/convertchars] gives this result = =E2=80=A6.

 

1st Line<br>2nd Line

 

=E2=80=A6.eve= rything on one line with br tag where a carriage return is supposed to = be.

 

 

I think I = need a custom conversion DB to get things right. Seen it mentioned in = archive Talklist that folks created called EmailMime.db, etc. = =E2=80=A6but cannot find it to test it out.

 

Anyone out = there can help me out on this issue would be most appreciated. Again, no = issue DB/HTML or Textarea interchange. Just DB output to plain text file = =E2=80=A6how do I get the Db data to convert stored carriage return = correctly.

 

Many thanks = folks

Terry = Nair

 

 

 

 

 

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us ------=_NextPart_000_000B_01D572B2.33229FF0-- . "Terry Nair"

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

WebSite vs. IIS (1997) WebCatalog [FoundItems] Problem - LONG - (1997) Format all of a sudden doesn't work (1997) WC TableGrinder (1997) PCS Customer submissions ? (1997) FileInfo (2004) Workaround for Emailer doubled bcc messages (1998) To Do list (2003) Sendmail truncation in Eudora Clients (1998) [OT] Indexing of dynamic web sites (2003) WebSite and *NO* Authentication Dialog Box!!? (1998) Single Link browsing (1997) Webcat run amuk (2002) Checking for WebCatalog Version (2000) RE: [WebDNA] read database from other domain (2015) form data submission gets truncated (1997) Leading reasons for TCPConnect randomly failing? (1999) Summing fields (1997) WebCat2b13MacPlugin - [math][date][/math] problem (1997) sort problems....bug or brain fart? (1997)