Author Topic: "conversion From X To Y Is Not Supported"  (Read 5868 times)

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
"conversion From X To Y Is Not Supported"
« on: August 12, 2006, 04:57:28 pm »
Hello,

I have compiled the Streamtuner application (v 0.99.99) for pdaXrom 1.1.0beta3. It works very well, except one problem:
When receiving the SHOUTcast stream directory, the directory remains empty and on the console output I get a lot of messages saying:

Code: [Select]
streamtuner: cannot convert a line of the HTTP body to UTF-8: Conversion from character set 'windows-1252' to 'UTF-8' is not supported
Seems like an iconv problem.
However, the libiconv installed on my Zaurus supports this conversion. I have tested tat with

Code: [Select]
# echo test | iconv -f windows-1252 -t UTF-8
test

Also, the error message from iconv looks different than that which is displayed by streamtuner:

Code: [Select]
# echo test | iconv -f windows-1200 -t UTF-5
iconv: conversion from windows-1200 unsupported

so it seems the error message does NOT come from iconv (i.e. also not from libiconv?).

Does anyone have a hint where to search for the reason and how to avoid that?
I have looked in the convigure script for an option which has to do with character conversion but there is none.

Once these problems are resolved I'll make the IPK available.
For "XIPH" streams it works very well already. Starts up XMMS which plays the stream.

Thanks!
daniel
« Last Edit: August 12, 2006, 04:58:19 pm by daniel3000 »
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
"conversion From X To Y Is Not Supported"
« Reply #1 on: August 14, 2006, 04:47:47 pm »
I could now solve the problem by myself:
the glibc-gconv-cp1252 module was missing. Installed it via package manager and voila, it works.
I'll soon provide an IPK with the correct dependencies.

daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0