Am 20.12.2010 00:26, schrieb Harald Friedrich: > > Hello SQLite team, > > if an umlaut (German mutated vowel with two dots on top äöüÄÖÜß) is > present in the database filename, the first access to the database after > opening will result in an exception or a runtime error 216. > > Using the user's AppDataPath unfortunately always includes the username. > If this name has an umlaut, SQLite will not work: > > *C:\Users\Jürgen > Möller\AppData\Roaming\ibf\TarV15\medium\Database\target3001.db* > > What can we do?
Use the right encoding for the sqlite_open() call (e.g. UTF-8) or use the sqlite_open16() call which might be easier on Windows. If you use some kind of wrapper other than the C code, file a bug there. You probably passed some ANSI/OEM codepage filename to sqlite_open() which gets messed up. Michael -- Michael Schlenker Software Architect CONTACT Software GmbH Tel.: +49 (421) 20153-80 Wiener Straße 1-3 Fax: +49 (421) 20153-41 28359 Bremen http://www.contact.de/ E-Mail: m...@contact.de Sitz der Gesellschaft: Bremen Geschäftsführer: Karl Heinz Zachries, Ralf Holtgrefe Eingetragen im Handelsregister des Amtsgerichts Bremen unter HRB 13215 _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users