From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Mike Lykov Organization: Vesna To: community@altlinux.ru Subject: Re: [Comm] Re: Perl unicode Date: Mon, 25 Oct 2004 11:00:30 +0500 User-Agent: KMail/1.6.2 References: <200410211218.36489.tosick@altlinux.ru> <20041022142532.GU2017@solemn.turbinal.org> In-Reply-To: <20041022142532.GU2017@solemn.turbinal.org> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200410251100.30135.combr@vesna.ru> X-Bogosity: Unsure, tests=bogofilter, spamicity=0.498973, version=0.16.4 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mail.vesna.ru X-Spam-Level: X-Spam-Status: No, hits=-100.0 required=6.0 tests=USER_IN_WHITELIST autolearn=no version=2.63 X-Sanitizer: Anomy X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Oct 2004 06:00:32 -0000 Archived-At: List-Archive: List-Post: В сообщении от Пятница 22 Октябрь 2004 19:25 Alexey Tourbin написал: > Лучше не использовать Text::Iconv вместе с нативным utf8. > По крайней мере нижеследующее у меня не работает: > > $ perl -MText::Iconv -le 'my $text="текст"; utf8::encode $text; print > Text::Iconv->new("utf8", "windows-1251")->convert($text)' my $converter=Text::Iconv->new('UTF-8', 'KOI8-R'); my $converted=$converter->convert($toconvert); У меня работает. -- Mike Lykov Samara, "Vesna" parfum company, System administrator