From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Message-ID: <47BABD7C.7070703@rambler.ru> Date: Tue, 19 Feb 2008 14:29:00 +0300 From: Yury Aliaev User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.7.2) Gecko/20040808 X-Accept-Language: ru-ru, ru MIME-Version: 1.0 To: ALT Linux Community general discussions References: <3f60a830802182114o5ee91709hd4dce89ad3fea461@mail.gmail.com> In-Reply-To: <3f60a830802182114o5ee91709hd4dce89ad3fea461@mail.gmail.com> X-Enigmail-Version: 0.85.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Comm] =?koi8-r?b?8MXSxcvPxMnSz9fB1Ngg3sHT1NggxsHKzMEu?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2008 11:13:18 -0000 Archived-At: List-Archive: List-Post: Alexey Borovskoy scripsit: > Добрый день. > > Необходимо перекодировать часть файла в другую кодировку с помощью iconv. > > Формат файла похож на мыло. > > Header > Header > > Text > Text > Text > > Как перекодировать только область с условным названием Text. > Хочется красивое решение. Корявое я уже написал. perl + iconv? ИМХО самый универсальный способ...