Chloe here,
I'm protecting myself from receiving junk mail.
Please click the link below to complete the verification process.
You have to do this only once.
http://www.spamarrest.com/a2?AQR4AwV5BGcvqJpgMTWxYJ9xLzANpaDhL3Ouov5ipzpj
Spam Arrest - Take control of your inbox!
------------------------------------------------------------
You are receiving this message in response to your email to
Chloe, a Spam Arrest customer.
Spam Arrest requests that senders verify themselves before
their email is delivered.
When you click the above link, you will be taken to a page
with a graphic on it. Simply read the word in the graphic,
type it into the form, and you're verified.
You have to do this only once per Spam Arrest customer.
------------------------------------------------------------
Below are the complete headers of the message that this email
was generated in response to.
Return-path: <rtcpan@cpan.rt.develooper.com>
Envelope-to: starrychloe@oliveyou.net
Delivery-date: Fri, 08 Jul 2011 07:15:14 -0700
Received: from cpan.rt.develooper.com ([207.171.7.181])
by phobos.lunarpages.com with esmtp (Exim 4.69)
(envelope-from <rtcpan@cpan.rt.develooper.com>)
id 1QfBpq-0000X7-E2
for starrychloe@oliveyou.net; Fri, 08 Jul 2011 07:15:14 -0700
Received: by cpan.rt.develooper.com (Postfix, from userid 536)
id 35BF37057; Fri, 8 Jul 2011 07:15:12 -0700 (PDT)
Precedence: normal
Subject: [rt.cpan.org #69362] Does not prepend N to Unicode strings when preparing statements for MSSQL.
From: "Martin J Evans via RT" <bug-DBD-ODBC@rt.cpan.org>
Reply-To: bug-DBD-ODBC@rt.cpan.org
In-Reply-To:
References: <RT-Ticket-69362@rt.cpan.org>
Message-ID: <rt-3.8.HEAD-9061-1310134511-16.69362-6-0@rt.cpan.org>
X-RT-Loop-Prevention: rt.cpan.org
RT-Ticket: rt.cpan.org #69362
Managed-by: RT 3.8.HEAD (
http://www.bestpractical.com/rt/)
RT-Originator: bohica@ntlworld.com
To: starrychloe@oliveyou.net
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Date: Fri, 8 Jul 2011 10:15:12 -0400
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.9
X-Spam-Score: -18
X-Spam-Bar: -
X-Ham-Report: Spam detection software, running on the system "phobos.lunarpages.com", has
identified this incoming email as possible spam. The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: <URL:
https://rt.cpan.org/Ticket/Display.html?id=69362 > On
Fri Jul 08 09:09:21 2011, starrychloe wrote: > Here is some code and the
output > > my $db1 = DBI->connect('dbi:ODBC:SFSDB', 'xxx', 'xxx'); > ... >
print "ODBC has unicode=",$db1->{'odbc_has_unicode'},"\n"; > ... > map {printf
("$_, %d\n", utf8::is_utf8($_))} @values; > print "Values: ", Dumper(@values);
Show quoted text > $sthUpdate->trace(2); > $sthUpdate->execute(@values); > > > > ODBC has
unicode=1 > 7, 1 > 1411, 1 > ... > Buster Cafââ, 1 > ... > Values: $VAR1
= '7'; > $VAR2 = '1411'; > ... > $VAR5 = "Buster Caf\x{c3}\x{a9}"; > ...
Show quoted text > Binding parameters: update merchants set merchantStatus_id='7', > salesRep_id='1411',
SICCodeID='xxxxx', MerchantName='xxxxxx', > MerchantDBA='Buster Cafâââ¬â',
TaxID='xxxxx', Website=NULL, > MinimumBridgeAccountBalance='xxxxx', ........
where id='35' > > > Resulting value in DB as displayed in MSSQL Studio: Buster
Café > > > The column is definitely nvarchar. > Windows Server 2008 R2
Show quoted text > ActiveState Perl 5.10.1 x64 > DBD::ODBC : 1.31 > DBI : 1.615 > MSSQL Server
2008 > Notice ODBC has Unicode. > Notice is_utf8() returns 1 for each value.
Show quoted text > It does not display correctly in the console because of ActiveState. >
ActiveState Perl won't even display a hard coded UTF character properly. >
Only Cygwin Perl will display Unicode correctly in console. > Notice the
hex values are correct for accented e (é). > Notice the generated SQL does
not prepend a N to the strings. > This is a general purpose synchronization
script, so it is unknown > beforehand if the field is text or number. > It
relies on prepared statements and parameters. > This also fails in Strawberry
Perl. > Unknown if Cygwin Perl succeeds, as the script also requires MySQL
Show quoted text > driver which could not be compiled under Cygwin. [...]
Content analysis details: (-1.9 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay
domain
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
X-Spam-Flag: NO
Received-SPF: none(rt.cpan.org: rt.cpan.org does not designate permitted sender hosts)
------------------------------------------------------------
Webmasters help stop spam and make 50%.
http://www.spamarrest.com/affl?4186299/affiliates/index.jsp
------------------------------------------------------------