[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 = 2427This is a multipart message in MIME format.------=_NextPart_000_000B_01D572B2.33229FF0Content-Type: text/plain;charset="utf-8"Content-Transfer-Encoding: quoted-printableGoing bonkers trying to figure this out using [convertchars].=20As an example, we have a textarea with the following;=201st Line2nd Line=20It 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=201st Line2nd Line=20The same DB data when pushed to a plain text file (Writefile or Sendmail =message body) does not do the carriage thingy at all.=20=20As an example (1) =E2=80=A6.=20[unurl][DB_data][/unurl] gives this result =E2=80=A6.=201st Line 2nd Line=20=E2=80=A6.everything on one line.=20=20As an example (2) =E2=80=A6.=20[convertchars][unurl][DB_data][/unurl][/convertchars] gives this result ==E2=80=A6.=201st Line
2nd Line=20=E2=80=A6.everything on one line with br tag where a carriage return is =supposed to be.=20=20I 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.=20Anyone 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.=20Many thanks folksTerry Nair=20=20=20=20=20------=_NextPart_000_000B_01D572B2.33229FF0Content-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 tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.us------=_NextPart_000_000B_01D572B2.33229FF0--.
Associated Messages, from the most recent to the oldest:
2427This is a multipart message in MIME format.------=_NextPart_000_000B_01D572B2.33229FF0Content-Type: text/plain;charset="utf-8"Content-Transfer-Encoding: quoted-printableGoing bonkers trying to figure this out using
[convertchars].=20As an example, we have a textarea with the following;=201st Line2nd Line=20It 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=201st Line2nd Line=20The same DB data when pushed to a plain text file (Writefile or Sendmail =message body) does not do the carriage thingy at all.=20=20As an example (1) =E2=80=A6.=20
[unurl][DB_data][/unurl] gives this result =E2=80=A6.=201st Line 2nd Line=20=E2=80=A6.everything on one line.=20=20As an example (2) =E2=80=A6.=20
[convertchars][unurl][DB_data][/unurl][/convertchars] gives this result ==E2=80=A6.=201st Line
2nd Line=20=E2=80=A6.everything on one line with br tag where a carriage return is =supposed to be.=20=20I 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.=20Anyone 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.=20Many thanks folksTerry Nair=20=20=20=20=20------=_NextPart_000_000B_01D572B2.33229FF0Content-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 tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug 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:
[WebDNA] slideshow (2008)
Am I going senile? (Price recalc based on quantity) (1997)
acrobat -> wc (1998)
WCS Newbie question (1997)
WebCat2 - Getting to the browser's username/password data (1997)
authenticating a second user, the sequel (1997)
logic help (1998)
[BoldWords] WebCat.acgib15Mac (1997)
japanese characters (1997)
Server crash (1997)
Database Options (1997)
Emailer error codes (1999)
[WebDNA] Version control (git or subversion) workflow for WebDNA (2012)
Pithy questions on webcommerce & siteedit (1997)
Download URL & access on the fly ? (1997)
Summing fields (1997)
[WebDNA] [sendmail] inside a [founditems] loop ... please comment on parameters. (2009)
searchable list archive (1997)
Sku numbers (1997)
WebCatalog 2.0 b 15 mac (1997)