Skip Menu |

This queue is for tickets about the Email-Send-SMTP-Gmail CPAN distribution.

Report information
The Basics
Id: 85846
Status: resolved
Priority: 0/
Queue: Email-Send-SMTP-Gmail

People
Owner: PECO [...] cpan.org
Requestors: growantr [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.44



Subject: problem with russian language
Date: Tue, 4 Jun 2013 09:54:14 +0200
To: bug-Email-Send-SMTP-Gmail [...] rt.cpan.org
From: I E <growantr [...] gmail.com>
Hello! I'm using your module Email::Send::SMTP::Gmail and have found problem with russian language. In subject I see ТестироMIME-Version: 1.0 instead Тестирование In body I see ТестированиеТестирование ТÐ instead ТестированиеТестирование Тестирование Тестирование it's meaning testing. Kind regards. Garry
On Tue Jun 04 03:54:32 2013, i_eremin wrote: Show quoted text
> Hello! > I'm using your module Email::Send::SMTP::Gmail and have found problem with > russian language. > In subject I see ТестироMIME-Version: 1.0 instead Тестирование > In body I see ТестированиеТестирование ТÐ instead ТестированиеТестирование > Тестирование > Тестирование it's meaning testing. > Kind regards. > Garry
Hello! Strange. Please, could you do some tests? 1) Try it using UTF-8 and your Russian char code(KOI8R ?) to see differences but keeping the same text. 2) At Gmail.pm change the line 229 Replace this $self->{sender}->datasend("MIME-Version: 1.0\n"); by this $self->{sender}->datasend("\nMIME-Version: 1.0\n"); I guess is related to how perl internally stores the chars and the codification itself. See Unicode. Many thanks.
Subject: Re: [rt.cpan.org #85846] problem with russian language
Date: Fri, 7 Jun 2013 21:41:39 +0200
To: bug-Email-Send-SMTP-Gmail [...] rt.cpan.org
From: I E <growantr [...] gmail.com>
Hello! Thanks for your answer. 1. I use use utf8; everywhere. With koi8-r too much problem. 2. I have changed the Gmail.pm with these results - in subject I see russian text trimmed and without MIME-Version: 1.0 - in body nothing changed I use Email::Send::SMTP::TLS and in this case the subject is full but body is trimmed. I use Email::Send::Gmail and everything is fine. Maybe it will help. Sorry, can't tell you more because I'm newbie in perl. Kind regards. Garry 2013/6/7 Juan Jose San Martin via RT <bug-Email-Send-SMTP-Gmail@rt.cpan.org> Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=85846 > > > On Tue Jun 04 03:54:32 2013, i_eremin wrote:
> > Hello! > > I'm using your module Email::Send::SMTP::Gmail and have found problem
> with
> > russian language. > > In subject I see ТестироMIME-Version: 1.0 instead Тестирование > > In body I see ТестированиеТестирование ТÐ instead
> ТестированиеТестирование
> > Тестирование > > Тестирование it's meaning testing. > > Kind regards. > > Garry
> > > Hello! > > Strange. > Please, could you do some tests? > > 1) Try it using UTF-8 and your Russian char code(KOI8R ?) to see > differences but keeping the same text. > 2) At Gmail.pm change the line 229 > Replace this $self->{sender}->datasend("MIME-Version: 1.0\n"); > by this $self->{sender}->datasend("\nMIME-Version: 1.0\n"); > > I guess is related to how perl internally stores the chars and the > codification itself. See Unicode. > > Many thanks. >
Sorry for the delay in replying. I could not work on it so far. Well, better late than never: I was able to reproduce the error. Is now fixed. A new release will be uploaded to CPAN today (v0.56) Thanks! El Vie Jun 07 15:41:53 2013, i_eremin escribió: Show quoted text
> Hello! > > Thanks for your answer. > 1. I use use utf8; everywhere. With koi8-r too much problem. > 2. I have changed the Gmail.pm with these results > - in subject I see russian text trimmed and without MIME-Version: 1.0 > - in body nothing changed > > I use Email::Send::SMTP::TLS and in this case the subject is full but body > is trimmed. > I use Email::Send::Gmail and everything is fine. > Maybe it will help. > > Sorry, can't tell you more because I'm newbie in perl. > > Kind regards. > Garry > > > 2013/6/7 Juan Jose San Martin via RT <bug-Email-Send-SMTP-Gmail@rt.cpan.org> >
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=85846 > > > > > On Tue Jun 04 03:54:32 2013, i_eremin wrote:
> > > Hello! > > > I'm using your module Email::Send::SMTP::Gmail and have found problem
> > with
> > > russian language. > > > In subject I see ТестироMIME-Version: 1.0 instead Тестирование > > > In body I see ТестированиеТестирование ТÐ instead
> > ТестированиеТестирование
> > > Тестирование > > > Тестирование it's meaning testing. > > > Kind regards. > > > Garry
> > > > > > Hello! > > > > Strange. > > Please, could you do some tests? > > > > 1) Try it using UTF-8 and your Russian char code(KOI8R ?) to see > > differences but keeping the same text. > > 2) At Gmail.pm change the line 229 > > Replace this $self->{sender}->datasend("MIME-Version: 1.0\n"); > > by this $self->{sender}->datasend("\nMIME-Version: 1.0\n"); > > > > I guess is related to how perl internally stores the chars and the > > codification itself. See Unicode. > > > > Many thanks. > >