Ticket #1498: fz2224_utf8_queue.patch

File fz2224_utf8_queue.patch, 1.3 KB (added by tommywu, 15 years ago)

save server's UTF8 value for queue

  • Options.cpp

    old new  
    17681768    pXML->AddChildAttrib( _T("ServerType"), server.nServerType);
    17691769    pXML->AddChildAttrib( _T("Path"), server.path);
    17701770    pXML->AddChildAttrib( _T("PasvMode"), server.nPasv);
     1771    pXML->AddChildAttrib( _T("UTF8"), server.nUTF8);
    17711772    pXML->AddChildAttrib( _T("TimeZoneOffset"), server.nTimeZoneOffset);
    17721773}
    17731774
     
    17821783    SetKey(key, "Server Type", server.nServerType);
    17831784    SetKey(key, "Path", server.path);
    17841785    SetKey(key, "Pasv Mode", server.nPasv);
     1786    SetKey(key, "UTF8", server.nUTF8);
    17851787    SetKey(key, "Time Zone Offset", server.nTimeZoneOffset);
    17861788}
    17871789
     
    17991801    server.nServerType = _ttoi(pXML->GetChildAttrib( _T("ServerType") ));
    18001802    server.path = pXML->GetChildAttrib( _T("Path") );
    18011803    server.nPasv = _ttoi(pXML->GetChildAttrib( _T("PasvMode") ));
     1804    server.nUTF8 = _ttoi(pXML->GetChildAttrib( _T("UTF8") ));
    18021805    server.nTimeZoneOffset = _ttoi(pXML->GetChildAttrib( _T("TimeZoneOffset") ));
    18031806
    18041807    if (server.nPasv < 0 || server.nPasv > 2)
     
    18251828    GetKey(key, "Server Type", server.nServerType);
    18261829    GetKey(key, "Path", server.path);
    18271830    GetKey(key, "Pasv Mode", server.nPasv);
     1831    GetKey(key, "UTF8", server.nUTF8);
    18281832    GetKey(key, "Time Zone Offset", server.nTimeZoneOffset);
    18291833
    18301834    if (server.nPasv < 0 || server.nPasv > 2)