Skip to content

Commit

Permalink
add an example of an astral plane unicode identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
williamstein committed Aug 17, 2019
1 parent 24d97af commit ffdc127
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/messaging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1457,6 +1457,8 @@ Frontends claiming to implement protocol 5.2 **MUST** identify cursor_pos as the
Kernels may choose to expect the UTF-16 offset from requests implementing protocol 5.1 and earlier, in order to behave correctly with the most popular frontends.
But they should know that doing so *introduces* the inverse bug for the frontends that do not have this bug.

As an example, use a python3 kernel and evaluate ``𨭎𨭎𨭎𨭎𨭎 = 10``. Then type ``𨭎𨭎`` followed by the tab key and see if it properly completes.

Known affected frontends (as of 2017-06):

- Jupyter Notebook < 5.1
Expand Down

0 comments on commit ffdc127

Please sign in to comment.