Revert : getPath
should return a locale string as there is no constraint about it. Usual connections are done by _linphone_sqlite3_open
in linphonecore.c that take a Locale and do a convertion to UTF8 inside. But a special case is for CorePrivate::init
in core.cpp where we call directly mainDb->connect
that take a UTF8 string.