Base64Decoder drops 0x0d characters on windows

SF #605 Base64Decoder drops 0x0d characters on windows
This commit is contained in:
aleks-f
2012-12-19 21:48:26 -06:00
parent 6fa1270163
commit 79549f85dd
7 changed files with 47 additions and 5 deletions

View File

@@ -147,6 +147,9 @@ Base64DecoderBuf* Base64DecoderIOS::rdbuf()
Base64Decoder::Base64Decoder(std::istream& istr): Base64DecoderIOS(istr), std::istream(&_buf)
{
#ifdef POCO_OS_FAMILY_WINDOWS
unsetf(std::ios_base::skipws);
#endif
}