Singaravelu, Rajaram schrieb:
> Hi,
> 
> [...]
> 
> In short, can anyone tell me if I can compile sqlite3 with only ANSI
> support so that it works like the ANSI version of fopen().

If I understand you correctly you just care about the filename when you 
talk about UTF8?!

In this case everything should be very easy. You can find the whole 
win-specific stuff in os_win.c. Concerning fopen: This call is not used, 
instead the Windows API function CreateFile is used (see function 
winOpen!). As I can see in the source, the W-prefixed call is used which 
is the Unicode-aware function.

You could either try replacing CreateFileW with CreateFileA or convert 
the filename with something like MultiByteToWideChar.

> Thanks for your help.
> 
> -Rajaram

Regards,
Luke

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to