/ Check-in [5e514f6a]
Login

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

Overview
Comment:Fix a comment on the sqlite3Utf8Read() routine. No changes to code.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 5e514f6acebcfad4f18300d1a34f4917f1a746d9
User & Date: drh 2014-06-18 15:24:40
Context
2014-06-18
18:10
Add the "LogEst" and "LogEst.exe" target to the makefiles. check-in: 7b91b058 user: drh tags: trunk
15:24
Fix a comment on the sqlite3Utf8Read() routine. No changes to code. check-in: 5e514f6a user: drh tags: trunk
15:11
Prevent an automatic index from taking the place of a declared index. check-in: 0a52bddd user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/utf.c.

   144    144   **     0xd800 and 0xe000 then it is rendered as 0xfffd.
   145    145   **
   146    146   **  *  Bytes in the range of 0x80 through 0xbf which occur as the first
   147    147   **     byte of a character are interpreted as single-byte characters
   148    148   **     and rendered as themselves even though they are technically
   149    149   **     invalid characters.
   150    150   **
   151         -**  *  This routine accepts an infinite number of different UTF8 encodings
   152         -**     for unicode values 0x80 and greater.  It do not change over-length
          151  +**  *  This routine accepts over-length UTF8 encodings
          152  +**     for unicode values 0x80 and greater.  It does not change over-length
   153    153   **     encodings to 0xfffd as some systems recommend.
   154    154   */
   155    155   #define READ_UTF8(zIn, zTerm, c)                           \
   156    156     c = *(zIn++);                                            \
   157    157     if( c>=0xc0 ){                                           \
   158    158       c = sqlite3Utf8Trans1[c-0xc0];                         \
   159    159       while( zIn!=zTerm && (*zIn & 0xc0)==0x80 ){            \