Parent Directory | Revision Log | Patch
revision 1.2 by okuji, Sun Sep 29 10:53:27 2002 UTC | revision 1.3 by okuji, Sun Sep 29 11:29:39 2002 UTC | |
---|---|---|
# | Line 93 module BugCommunicator | Line 93 module BugCommunicator |
93 | str.gsub(/=\?([^\?]+)\?(q|b)\?([^\?]*)\?=/i) do |matched| | str.gsub(/=\?([^\?]+)\?(q|b)\?([^\?]*)\?=/i) do |matched| |
94 | charset, encoding, encoded_text = $1.upcase, $2.downcase, $3 | charset, encoding, encoded_text = $1.upcase, $2.downcase, $3 |
95 | decoded_text = '' | decoded_text = '' |
96 | ||
97 | begin | begin |
98 | case encoding | case encoding |
99 | when 'q' | when 'q' |
# | Line 108 module BugCommunicator | Line 108 module BugCommunicator |
108 | end | end |
109 | end | end |
110 | when 'b' | when 'b' |
111 | decoded_texxt = RMail::Utils.base64_decode(encoded_text) | decoded_text = RMail::Utils.base64_decode(encoded_text) |
112 | end | end |
113 | ||
114 | if charset == 'UTF-8' | if charset == 'UTF-8' |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |