Skip to content

Commit 828eda6

Browse files
cdeckerrustyrussell
authored andcommitted
BOLT01: Further specifying what it means to be printable
ASCII character set seems apropriate, since it acts a lowest common denominator, and who'd stuff emojis in an error message anyway? Fixes #68
1 parent 6be5857 commit 828eda6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

01-messaging.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ A node receiving `error` MUST fail the channel referred to by
131131
all channels and MUST close the connection. A receiving node MUST truncate
132132
`len` to the remainder of the packet if it is larger.
133133

134-
A receiving node SHOULD only print out `data` verbatim if it is a
135-
valid string.
134+
A receiving node SHOULD only print out `data` verbatim if the string is composed solely of printable ASCII characters.
135+
For referece, the printable character set includes byte values 32 through 127 inclusive.
136136

137137
#### Rationale
138138

0 commit comments

Comments
 (0)