Thomas,

first off, we're going to make considerable changes in all this
conversion-related stuff for the next release.

I have no clue why the iconv call fails; have you tried some other
spellings like ISO/iso, underscore in place of a dash etc.?

As for the assertions, they cause just about any program to crash when
they fail... I agree this place is not particularly well suited for an
assertion. One reason why it's there is that we expected iconv to do any
of the few "allowed" encodings without any problem. In the upcoming
release, this assertion will definitely turn into an error message.

Tom Kaiser

Thomas Bopp wrote:
> 
> I checked the utf.cpp code and the iconv_open call failed.
> The  error number says EINVAL, my log says:
> "Iconv failed (ISO-8859-1 to UTF-8), not supported !"
> Is the iconv configuration of my system messed up somehow ?
> 
> I also tried iconv in the shell now and it says iso-... not supported.
> I will tell the system administrator ;-)
> Thanx for your help,
> ---Thomas
> PS: I am using PiXSL: that is I use Sablotron from inside pike
> (a programming language). An assertion crashes my whole program ;-)
> Wouldnt it be better to find out the error and return it ?


Reply via email to