Re: display undeclared iso-charset in UTF environment

Christian Ebert <[email protected]>
Newsgroups gmane.network.slrn.user
Organization Black Trash Productions <http://www.blacktrash.org/>
Message-ID <[email protected]>
Hello Jörg,

* Jörg Sommer on Thursday, September 14, 2006 at 10:14:23 +0000:
> my idea:
> 
>> #v+
> charset = fallback_charset_list[-1];
> foreach (fallback_charset_list)
>>     {
> variable cs = ();

I didn't know about this kind variable assignment. Thanks.

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

But does this not call iconv for every element of
fallback_charset_list again? And, to avoid, you would still have
to do something like:

if (cs == charset) break;

before pipe_readline()?

c
-- 
_B A U S T E L L E N_ lesen! --->> <http://www.blacktrash.org/baustellen.html>

-------------------------------------------------------------------------
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.