Re: svn commit: r265167 - head/lib/libc/locale

2014-04-30 Thread Pedro Giffuni
Oops.. wrong log!! Should've been this: _ citrus: pass U+FFFE and U+ normally. r265095, based on an OpenBSD change was rejecting U+FFFE and U+ in accordance with outdated documentation. Both values are valid "non-characters" [1] and must be mapped through UTFs. Reference: h

svn commit: r265167 - head/lib/libc/locale

2014-04-30 Thread Pedro F. Giffuni
Author: pfg Date: Thu May 1 01:42:48 2014 New Revision: 265167 URL: http://svnweb.freebsd.org/changeset/base/265167 Log: citrus: Avoid invalid code points. From the OpenBSD log: The UTF-8 decoder should not accept byte sequences which decode to unicode code positions U+D800 to U+DFFF (