From 4638f8c118160f8a777186fc4e59be6c9b09bb0a Mon Sep 17 00:00:00 2001 From: SheetJS Date: Sat, 21 Aug 2021 16:51:02 -0400 Subject: [PATCH] sylk escape codes --- sylk/README.md | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/sylk/README.md b/sylk/README.md index d7e1913..48e52eb 100644 --- a/sylk/README.md +++ b/sylk/README.md @@ -40,10 +40,31 @@ For example. `"\x1B :" == "\x1B\x20\x3A` encodes the byte `"\x0A"` (newline) Excel also understands a set of special escapes that start with `\x1BN`. For clarity, the `\x1BN` part is not included in the table: -| sequence | text | -|:---------|:-----| -| `AA` | `À` | +| | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F | +|:---|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:| +|`0_`| | | | | | | | | | | | | | | | | +|`1_`| | | | | | | | | | | | | | | | | +|`2_`| | | `*`| `&`| | | | `)`| | | | | | `P`| | | +|`3_`| | | | | | | | | | | | | | | | | +|`4_`| | | | | | | | | | | | | | | | | +|`5_`| | | | | | | | | | | | | | | | | +|`6_`| | | | | | | | | | | | | | | | | +|`7_`| | | | | | | | | | | | | | | | | +|`8_`| | | | | | | | | | | | | `j`| | | | +|`9_`| | | | | | | | | | | | | `z`| | | | +|`A_`| | `!`| `"`| `#`| `(`| `%`| | `'`|`H `| `S`| `c`| `+`| | | `R`| | +|`B_`|`J `| `1`| `2`| `3`|`B `| `5`| `6`| `7`| | `Q`| `k`| `;`| `<`| `=`| `>`| `?`| +|`C_`|`AA`|`BA`|`CA`|`DA`|`HA`|`JA`| `a`|`KC`|`AE`|`BE`|`CE`|`HE`|`AI`|`BI`|`CI`|`HI`| +|`D_`| `b`|`DN`|`AO`|`BO`|`CO`|`DO`|`HO`| | `i`|`AU`|`BU`|`CU`|`HU`| | `l`| `{`| +|`E_`|`Aa`|`Ba`|`Ca`|`Da`|`Ha`|`Ja`| `q`|`Kc`|`Ae`|`Be`|`Ce`|`He`|`Ai`|`Bi`|`Ci`|`Hi`| +|`F_`| `s`|`Dn`|`Ao`|`Bo`|`Co`|`Do`|`Ho`| | `y`|`Au`|`Bu`|`Cu`|`Hu`| | `|`|`Hy`| +For example, `\x1BNj` encodes byte `0x8C` + +- Both `\x1BN0` and `\x1BNJ ` appear to encode `0xB0` +- Both `\x1BN9` and `\x1BN)` appear to encode `0x27` +- Bytes `0xA8`, `0xB0` and `0xB4` have space characters (` `) after the letter. + Byte `0xA8` is encoded as `\x1BNH\x20` ## Record Types