[Openmcl-devel] [babel-devel] Changes
luismbo at gmail.com
Sun Apr 12 21:36:23 EDT 2009
james anderson <james.anderson at setf.de> writes:
> what happens in this scenario, should your program
> - combine such a tainted "string" with a string which comprises
> valid characters only?
> - attempt to encode such an object as utf-8?
> is it enough to simply, informally relax the type constraint on
> string elements to permit non-characters?
> would it be enough to signal an error upon an attempt to encode one
> as utf-8?
I think it might. (Or replace invalid characters with #\uFFFD, perhaps.)
In any case, decoding such invalid characters results in an error (or
replacement characters) so this would be a rare situation.
> would one need to signal an error upon assignment to a slot of type
More information about the Openmcl-devel