Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^5: Convert HTML Email message to plain text

by merlyn (Sage)
on Oct 30, 2009 at 04:04 UTC ( [id://804100]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Convert HTML Email message to plain text
in thread Convert HTML Email message to plain text

No. Imagine the semantic content differences of:
  • He had three pieces of pie.
  • He had three pieces of pie.
  • He had three pieces of pie.
  • He had three pieces of pie.
  • He had three pieces of pie.
And now remove the bolding. You can't distinguish those. The semantic content is in the bolding. If you had only ASCII, you might add *markup* or _something_ to provide the right emphasis. But if you just rip out the HTML coding, you have indeed lost something.

This is quite common. I don't know why you think it's rare. :)

-- Randal L. Schwartz, Perl hacker

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

  • Comment on Re^5: Convert HTML Email message to plain text

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://804100]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (7)
As of 2024-04-19 13:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found