-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Peter Jacobi wrote:
> (1) Just as an OS abstraction layer is in place for I/O, wouldn't it
> be possible to use an OS abstraction layer for L14N?

SQLite allows multiple registrations of the same function if they take
different number of arguments.  Consequently the SQLite core implements
upper/lower taking one arg and the ICU extension implements upper/lower
taking two args with the second arg being the locale.

Why don't you write an extension that does the mapping into the Win32
api and then contribute it - http://sqlite.org/contrib - if it is small
and works well then it could become part of the core for Windows.

> (2) I'm under the impression, that the problematic cases 

ICU in SQLite does a lot more than just locale specific upper/lower
casing.  It also does locale specific sorting (which can't be done with
a trivial lookup table) and LIKE/regular expressions.

Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkkfPHYACgkQmOOfHg372QQ25wCgzoswPyHJbHKdw+AZeX/6MV3g
XWMAn10xjkcf3NjZWvr+e+BOhyLUErzO
=62c0
-----END PGP SIGNATURE-----
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to