On Sep 5, 2013, at 8:38 AM, Nikolay Mishin <[email protected]> wrote:

> MoscowPM, добрый день,
>  
> Есть скрипт
> перевода гугла из командной строки
> https://github.com/mishin/gists/blob/master/gtrans.pl

-    my $html = $res->content;
+    my $html = $res->decoded_content;

Теперь $html нормальная юникодная строка



-- 
lelf

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

-- 
Moscow.pm mailing list
[email protected] | http://moscow.pm.org

Ответить