source:
npl/overig/libvmime/vmime-mixed-qp-in-parameter.diff
@
c5c522c
Last change on this file since c5c522c was c5c522c, checked in by , 8 years ago | |
---|---|
|
|
File size: 882 bytes |
-
svn/src/parameter.cpp
239 239 { 240 240 value << t.getWholeBuffer(); 241 241 242 if (!foundCharsetChunk) 243 ch = t.getWordAt(0)->getCharset(); 242 if (!foundCharsetChunk) { 243 // this is still wrong. each word can have it's 244 // own charset, and can be mixed (eg. iso-8859-1 245 // and iso-2022-jp), but very unlikely. 246 // real fix is to have parameters store a 247 // vmime::text in stead of a vmime::word in 248 // m_value. but that changes the interface 249 for (size_t i = 0; i < t.getWordCount(); i++) { 250 if (t.getWordAt(i)->getCharset() != ch && ch == charsets::US_ASCII) { 251 ch = t.getWordAt(i)->getCharset(); 252 break; 253 } 254 } 255 256 } 244 257 } 245 258 } 246 259 }
Note: See TracBrowser
for help on using the repository browser.