-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds a failing test case for 255 unicode code points
The OSM spec says "up to 255 full unicode chars", so we should be able to handle 255 x ๐ผ --- but we don't. The internal limit is on 255 _bytes_ in the `std::string`, but there can be up to four bytes in a utf8 encoded code point. References: - http://wiki.openstreetmap.org/wiki/API_v0.6#Tags - http://www.fileformat.info/info/unicode/char/1f43c/browsertest.htm - https://en.wikipedia.org/wiki/UTF-8#Description
- Loading branch information
1 parent
6fac14d
commit bb244e2
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters