1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-15 11:41:13 +03:00

Expose the UTF8 to MBCS conversion routine in os_win.c to external

applications.

FossilOrigin-Name: 7b479b9bee93df909edecd44c7d6584d943b39c9
This commit is contained in:
drh
2011-04-27 16:05:42 +00:00
parent 5275d2ee63
commit 5b92f192d9
3 changed files with 9 additions and 9 deletions

View File

@@ -286,7 +286,7 @@ char *sqlite3_win32_mbcs_to_utf8(const char *zFilename){
** Convert UTF-8 to multibyte character string. Space to hold the
** returned string is obtained from malloc().
*/
static char *utf8ToMbcs(const char *zFilename){
char *sqlite3_win32_utf8_to_mbcs(const char *zFilename){
char *zFilenameMbcs;
WCHAR *zTmpWide;
@@ -2004,7 +2004,7 @@ static void *convertUtf8Filename(const char *zFilename){
*/
#if SQLITE_OS_WINCE==0
}else{
zConverted = utf8ToMbcs(zFilename);
zConverted = sqlite3_win32_utf8_to_mbcs(zFilename);
#endif
}
/* caller will handle out of memory */