This queue is for tickets about the Cache-Memcached-Fast CPAN distribution.

Report information
The Basics
Id:
70195
Status:
resolved
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
kas [...] fi.muni.cz
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
0.19
Fixed in:
(no value)



Subject: utf-8 flag is not retained
When storing a scalar value, its utf-8 flag is not stored (or maybe retrieved in get()). The test case is as follows. There is a similar report for Cache::Memcached (w/o ::Fast) at https://rt.cpan.org/Ticket/Display.html?id=28095 #!/usr/bin/perl -w use strict; use Test::More tests => 2; use Cache::Memcached::Fast; use utf8; my $memd = Cache::Memcached::Fast->new({ servers => [ '127.0.0.1:11211', ] }); my $var = 'krteček'; ok(utf8::is_utf8($var)); $memd->set('key', $var); my $read_var = $memd->get('key'); ok(utf8::is_utf8($read_var)); __END__
Enable utf8 support: my $memd = Cache::Memcached::Fast->new({ servers => [ '127.0.0.1:11211', ], utf8 => 1, # RTFM :) });
Dne St 10.srp.2011 10:25:37, KROKI napsal(a):
Show quoted text
> Enable utf8 support: > > my $memd = Cache::Memcached::Fast->new({ > servers => [ '127.0.0.1:11211', ], > utf8 => 1, # RTFM :) > });
Thanks, and sorry for the noise :-(
Closing as it was a user mistake (as well as reopening it afterwards).


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.