Changeset 15811

Show
Ignore:
Timestamp:
29.05.2008 17:21:17 (11 years ago)
Author:
mdewsnip
Message:

(Adding new DB support) Now calls to_uni() on the values from the database so they are encoded correctly.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/lib/sqlitedbclass.cpp

    r15803 r15811  
    2525 
    2626#include "sqlitedbclass.h" 
     27#include "gsdlunicode.h" 
    2728#include "unitool.h" 
    2829 
     
    288289    if (vals[i]) 
    289290    { 
    290       row[columnnames[i]] = vals[i];       
     291      row[columnnames[i]] = to_uni(vals[i]); 
    291292    } 
    292293  }