Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Improved JSON string literal encoding. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
4b187296d9726d655c536052a8c741fe |
User & Date: | drh 2019-04-10 15:22:00.272 |
Context
2019-04-15
| ||
19:00 | Update the built-in SQLite to the 3.28.0 beta. (check-in: 482776f0ef user: drh tags: trunk) | |
2019-04-10
| ||
15:22 | Improved JSON string literal encoding. (check-in: 4b187296d9 user: drh tags: trunk) | |
2019-04-09
| ||
13:11 | Update the built-in SQLite to the latest 3.28.0 alpha. (check-in: 58675822f3 user: drh tags: trunk) | |
Changes
Changes to wapp.tcl.
︙ | ︙ | |||
151 152 153 154 155 156 157 | } if {[regsub -all {[{}]} $s {[wappInt-%HHchar \\&]} s]} { set s [subst -novar -noback $s] } return $s } proc wappInt-enc-string {s} { | | > > > > > > > | 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 | } if {[regsub -all {[{}]} $s {[wappInt-%HHchar \\&]} s]} { set s [subst -novar -noback $s] } return $s } proc wappInt-enc-string {s} { return [string map {\\ \\\\ \" \\\" ' \\' < \\u003c \n \\n \r \\r \f \\f \t \\t \x01 \\u0001 \x02 \\u0002 \x03 \\u0003 \x04 \\u0004 \x05 \\u0005 \x06 \\u0006 \x07 \\u0007 \x0b \\u000b \x0e \\u000e \x0f \\u000f \x10 \\u0010 \x11 \\u0011 \x12 \\u0012 \x13 \\u0013 \x14 \\u0014 \x15 \\u0015 \x16 \\u0016 \x17 \\u0017 \x18 \\u0018 \x19 \\u0019 \x1a \\u001a \x1b \\u001b \x1c \\u001c \x1d \\u001d \x1e \\u001e \x1f \\u001f} $s] } # This is a helper routine for wappInt-enc-url and wappInt-enc-qp. It returns # an appropriate %HH encoding for the single character c. If c is a unicode # character, then this routine might return multiple bytes: %HH%HH%HH # proc wappInt-%HHchar {c} { |
︙ | ︙ |