Skip to content
Snippets Groups Projects
Commit c1dbaa66 authored by Ben Boeckel's avatar Ben Boeckel Committed by Jason Merrill
Browse files

libcpp: reject codepoints above 0x10FFFF


Unicode does not support such values because they are unrepresentable in
UTF-16.

libcpp/

	* charset.cc: Reject encodings of codepoints above 0x10FFFF.
	UTF-16 does not support such codepoints and therefore all
	Unicode rejects such values.

Signed-off-by: default avatarBen Boeckel <ben.boeckel@kitware.com>
parent dbcbc858
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment