Help - Search - Members - Calendar
Full Version: "conversion From X To Y Is Not Supported"
OESF Forums > Distros, Development, and Model Specific Forums > Everything Development > Linux Applications
daniel3000
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
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
# 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
# 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
daniel3000
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
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.