Am Sat, 8 Feb 2014 05:29:35 +0100 schrieb Marco Leise <Marco.Leise at gmx.de>: > Name the first one "decodeSubst" maybe and have decode call > that and check for 0xFFFD? Err... the other way round. 0xFFFD would actually be valid from an encoding point of view, I guess. -- Marco