Ticket #9048: filezilla-october-pl.diff

File filezilla-october-pl.diff, 596 bytes (added by Bogdan Drozdowski, 11 years ago)

The patch that allows other encodings of the Polish "Oct" short month name

  • src/engine/directorylistingparser.cpp

    old new  
    565565        m_MonthNamesMap[_T("sie")] = 8;
    566566        m_MonthNamesMap[_T("wrz")] = 9;
    567567        m_MonthNamesMap[_T("pa\x9f")] = 10;
     568        m_MonthNamesMap[_T("pa\xbc")] = 10; // ISO-8859-2
     569        m_MonthNamesMap[_T("paz")] = 10; // ASCII
     570        m_MonthNamesMap[_T("pa\xc5\xba")] = 10; // UTF-8
     571        m_MonthNamesMap[_T("pa\x017a")] = 10; // some servers send this
    568572        m_MonthNamesMap[_T("lis")] = 11;
    569573        m_MonthNamesMap[_T("gru")] = 12;
    570574