Subversion Repositories tpanel

Rev

Rev 463 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 463 Rev 486
Line 333... Line 333...
333
 
333
 
334
    TExpat xml(path);
334
    TExpat xml(path);
335
 
335
 
336
    if (!mIsTP5)
336
    if (!mIsTP5)
337
        xml.setEncoding(ENC_CP1250);
337
        xml.setEncoding(ENC_CP1250);
-
 
338
    else
-
 
339
        xml.setEncoding(ENC_UTF8);
338
 
340
 
339
    if (!xml.parse())
341
    if (!xml.parse())
340
    {
342
    {
341
        mutex_font.unlock();
343
        mutex_font.unlock();
342
        return;
344
        return;
Line 438... Line 440...
438
 
440
 
439
    TExpat xml(path);
441
    TExpat xml(path);
440
 
442
 
441
    if (!mIsTP5)
443
    if (!mIsTP5)
442
        xml.setEncoding(ENC_CP1250);
444
        xml.setEncoding(ENC_CP1250);
-
 
445
    else
-
 
446
        xml.setEncoding(ENC_UTF8);
443
 
447
 
444
    if (!xml.parse())
448
    if (!xml.parse())
445
        return false;
449
        return false;
446
 
450
 
447
    int depth = 0;
451
    int depth = 0;