On Tue, 15 Jul 2008, Marco van de Voort wrote:

> Hi,
> 
> because there are several bugreports asking for an iconv header
> translations, and one contained a patch from Whitewind which I tried to
> cleanup and get working.
> 
> I now have a bit of an odd problem with it that it seems to decode one char
> less than the input specifies.

Shouldn't you make allowances for the terminating #0 ?
And doesn't a text file have a unicode marker at the start ?

Michael.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to