On Jul 30, 2008, at 6:54 AM, 宋浩 wrote: > I've got a problem here regarding file name encoding under Linux: > when you > say that file names feed to sqlite3_open() functions should be > encoded in > UTF-8, do you really mean that? > > I mean, as far as I can tell, under Linux, the file name submitted to > program by the user should be the one directly passed to APIs like > open(), > with no encoding conversions required. e.g., if the current locale is > zh_CN.GB18030, (simplified Chinese, encoded in China national standard > encoding GB18030), then the file name argument passed to the program > is > encoded in GB18030, and this exact byte stream (without any encodig > conversion) shoud be passed to system APIs. Correct me if I'm wrong > here, > please.
I designed and implemented SQLite under the assumption that unix always uses UTF-8 filename encodings. D. Richard Hipp [EMAIL PROTECTED] _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users