projects
/
perl-Redis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
49804f1
)
added encoding notice
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 19 Mar 2010 14:38:13 +0000
(14:38 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 19 Mar 2010 14:38:13 +0000
(14:38 +0000)
git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/Redis@71
447b33ff
-793d-4489-8442-
9bea7d161be5
lib/Redis.pm
patch
|
blob
|
history
diff --git
a/lib/Redis.pm
b/lib/Redis.pm
index
82aeae0
..
55fd1a1
100644
(file)
--- a/
lib/Redis.pm
+++ b/
lib/Redis.pm
@@
-372,6
+372,14
@@
See also L<Redis::List> for tie interface.
my $info_hash = $r->info;
+=head1 ENCODING
+
+Since Redis knows nothing about encoding, we are forcing utf-8 flag on all data received from Redis.
+This change is introduced in 1.2001 version.
+
+This allows us to round-trip utf-8 encoded characters correctly, but might be problem if you push
+binary junk into Redis and expect to get it back without utf-8 flag turned on.
+
=head1 AUTHOR
Dobrica Pavlinusic, C<< <dpavlin at rot13.org> >>