Ticket #1672: utf8_eit_fix.patch

File utf8_eit_fix.patch, 981 bytes (added by Janne <janne-mythtv@…>, 18 years ago)
  • libs/libmythtv/eit.cpp

    === libs/libmythtv/eit.cpp
    ==================================================================
     
    157157            string_to_myth_category_type(query.value(4).toString());
    158158
    159159        DBEvent prog(chanid,
    160                      query.value(0).toString(),   query.value(1).toString(),
    161                      query.value(2).toString(),
    162                      query.value(3).toString(),   category_type,
     160                     QString::fromUtf8(query.value(0).toString()),
     161                     QString::fromUtf8(query.value(1).toString()),
     162                     QString::fromUtf8(query.value(2).toString()),
     163                     QString::fromUtf8(query.value(3).toString()),
     164                     category_type,
    163165                     query.value(5).toDateTime(), query.value(6).toDateTime(),
    164166                     fixup,
    165167                     query.value(7).toBool(),     query.value(8).toBool(),