[fpc-devel] iconv unit/problem

Michael Van Canneyt michael at freepascal.org
Wed Jul 16 00:20:00 CEST 2008



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.



More information about the fpc-devel mailing list