/ Check-in [a3a96c4d]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Escape non-ASCII character from an ICU extension comment. Cherrypick of [5ec02ecf3d20ce7e].
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | mutexDbg
Files: files | file ages | folders
SHA1: a3a96c4da340c525e2222b16dea6dca50c2451b2
User & Date: mistachkin 2016-10-17 19:00:43
Context
2016-10-17
19:00
Escape non-ASCII character from an ICU extension comment. Cherrypick of [5ec02ecf3d20ce7e]. Leaf check-in: a3a96c4d user: mistachkin tags: mutexDbg
18:59
Enhancments to Win32 mutex debugging. check-in: 2fb9a5dd user: mistachkin tags: mutexDbg
18:44
Escape non-ASCII character from an ICU extension comment. check-in: 5ec02ecf user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to ext/icu/icu.c.

   345    345   ** To access ICU "language specific" case mapping, upper() or lower()
   346    346   ** should be invoked with two arguments. The second argument is the name
   347    347   ** of the locale to use. Passing an empty string ("") or SQL NULL value
   348    348   ** as the second argument is the same as invoking the 1 argument version
   349    349   ** of upper() or lower().
   350    350   **
   351    351   **     lower('I', 'en_us') -> 'i'
   352         -**     lower('I', 'tr_tr') -> 'ı' (small dotless i)
          352  +**     lower('I', 'tr_tr') -> '\u131' (small dotless i)
   353    353   **
   354    354   ** http://www.icu-project.org/userguide/posix.html#case_mappings
   355    355   */
   356    356   static void icuCaseFunc16(sqlite3_context *p, int nArg, sqlite3_value **apArg){
   357    357     const UChar *zInput;            /* Pointer to input string */
   358    358     UChar *zOutput = 0;             /* Pointer to output buffer */
   359    359     int nInput;                     /* Size of utf-16 input string in bytes */