Skip to content

Commit

Permalink
Apparently \xFFFE and \xFFFF aren't valid unicode characters
Browse files Browse the repository at this point in the history
  • Loading branch information
majek committed Feb 7, 2012
1 parent f6dd3c1 commit d566f76
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,7 @@ There are various browser quirks which we don't intend to address:
connection to one domain at the same time (with the exception
of native websockets).
* Although SockJS is trying to escape any strange Unicode characters
(even
[invalid ones, like surrogates](http://en.wikipedia.org/wiki/Mapping_of_Unicode_characters#Surrogates),
(even invalid ones - [like surrogates \xD800-\xDBFF](http://en.wikipedia.org/wiki/Mapping_of_Unicode_characters#Surrogates) or [\xFFFE and \xFFFF](https://en.wikipedia.org/wiki/Unicode#Character_General_Category))
it's advisable to use only valid characters. Using invalid
characters is a bit slower, and may not work with SockJS servers
that have a proper Unicode support.
Expand Down

0 comments on commit d566f76

Please sign in to comment.