Changeset 8904
- Timestamp:
- 2005-01-17T17:12:58+13:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/EMAILPlug.pm
r8902 r8904 415 415 $$textref=$self->text_from_mime_message($mimetype,$mimeinfo,$$textref); 416 416 } else { # mimetype eq text/plain 417 $$textref = &text_into_html($$textref);418 $$textref =~ s@_@\\_@g; # protect against GS macro language419 417 420 418 if ($transfer_encoding =~ /quoted\-printable/) { … … 424 422 } 425 423 $self->convert2unicode($charset, $textref); 424 425 $$textref = &text_into_html($$textref); 426 $$textref =~ s@_@\\_@g; # protect against GS macro language 427 426 428 } 427 429 … … 998 1000 $highbytes =~ /^/g; # set pos() 999 1001 while ($highbytes =~ 1000 m!\G (?: [\xc0-\xdf][\x80-\xbf] 1002 m!\G (?: [\xc0-\xdf][\x80-\xbf] | # 2 byte utf-8 1001 1003 [\xe0-\xef][\x80-\xbf]{2} | # 3 byte 1002 [\xf0-\xf7][\x80-\xbf]{3} 1003 [\xf8-\xfb][\x80-\xbf]{4} 1004 [\xf0-\xf7][\x80-\xbf]{3} | # 4 byte 1005 [\xf8-\xfb][\x80-\xbf]{4} | # 5 byte 1004 1006 [\xfc-\xfd][\x80-\xbf]{5} # 6 byte 1005 1007 )*([\x80-\xff])? !xg
Note:
See TracChangeset
for help on using the changeset viewer.