<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Офф-топик, но реально не усну иначе.<div><br><div><div>On Jan 23, 2011, at 6:40 PM, Vladimir Timofeev wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">За то вот так:<br>$ LANG=ru_RU.KOI8-R perl -E 'open my $fh,"&lt;","not-existing-file"; say<br>$!' | iconv -f koi8-r -t utf-8<br>Нет такого файла или каталога</span></blockquote></div><br></div><div>Эммм... А на какой системе и с какими настройками это может сработать?</div><div><br></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande', Geneva, Verdana, Arial, Helvetica, sans-serif; font-size: 14px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><pre class="manpages" style="font-family: Courier, monospace; font-size: 12px; color: rgb(102, 102, 102); "><tt style="letter-spacing: -0.23px; font-size: 12px; font-family: Monaco, Courier, monospace; "><b>DESCRIPTION</b>
       The  <b>iconv</b>  program converts text from one encoding to another encoding.  More precisely, it converts <b>from</b> the encoding given for the <b>-f</b> option <b>to</b> the encoding given for the <b>-t</b> option.</tt></pre></span><div><br></div></div><div><br></div></body></html>