Nicholas Clark <[EMAIL PROTECTED]> writes: > > >Is there a bug? >Should the $ch++ happen even for the cases where $val == 0xFFFD? >Currently it looks like $ch is not incremented when the input value is 0xFFFD
Looks like a bug. But as U+FFFD is the fallback character I hope it does not occur very often - if an encoding has something Unicode cannot represent we are in trouble. -- Nick Ing-Simmons http://www.ni-s.u-net.com/