Re: display undeclared iso-charset in UTF environment

Jörg Sommer <[email protected]>
Newsgroups gmane.network.slrn.user
Message-ID <[email protected]>
Hello Christian,

Christian Ebert <[email protected]> wrote:

my idea:

> #v+
charset = fallback_charset_list[-1];
foreach (fallback_charset_list)
>     {
variable cs = ();
>       if ("0" == pipe_readline ("$iconv -s -f $cs -t ucs-4 '$artpath' >/dev/null 2>&1; echo $?"$, "broken iconv check"))
{
    charset = cs;
>         break;
}
>     }
> #v-

Have a nice day, Jörg.
-- 
Die NASA brauchte 12 Jahre um einen Kugelschreiber zu entwickeln, der
kopfüber, in der Schwerelosigkeit und unter Wasser schreiben kann.
Die Russen benutzten einfach einen Bleistift...

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.