~ubuntu-branches/ubuntu/wily/libvmime/wily

« back to all changes in this revision

Viewing changes to src/wordEncoder.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Mattias Nordstrom
  • Date: 2008-03-08 16:12:07 UTC
  • mfrom: (3.1.1 hardy)
  • Revision ID: james.westby@ubuntu.com-20080308161207-kyjvwtjye5483yhv
Tags: 0.8.1-3
* Applied patch for GCC 4.3 (closes: #461696)
* Updated watch file (closes: #462829)

Show diffs side-by-side

added added

removed removed

Lines of Context:
182
182
        // Fully RFC-compliant encoding
183
183
        else
184
184
        {
185
 
                charsetConverter conv(vmime::charset(charsets::UTF_8), m_charset);
 
185
                charsetConverter conv(charsets::UTF_8, m_charset);
186
186
 
187
187
                string::size_type inputCount = 0;
188
188
                string::size_type outputCount = 0;
207
207
                        if (m_encoding == ENCODING_B64)
208
208
                        {
209
209
                                outputCount = std::max(static_cast <string::size_type>(4),
210
 
                                        (encodeBytes.length() * 4) / 3);
 
210
                                        (encodeBuffer.length() * 4) / 3);
211
211
                        }
212
212
                        else // ENCODING_QP
213
213
                        {