Changeset 9217
- Timestamp:
- 04/03/08 17:27:55 (4 months ago)
- Files:
-
- trunk/actionmailer/lib/action_mailer/quoting.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionmailer/lib/action_mailer/quoting.rb
r2088 r9217 25 25 # Quote the given text if it contains any "illegal" characters 26 26 def quote_if_necessary(text, charset) 27 text = text.dup.force_encoding(Encoding::ASCII_8BIT) if text.respond_to?(:force_encoding) 28 27 29 (text =~ CHARS_NEEDING_QUOTING) ? 28 30 quoted_printable(text, charset) :