diff --git a/perl/lib/Data/MessagePack.pm b/perl/lib/Data/MessagePack.pm index 7d1bda78..3d2d6954 100644 --- a/perl/lib/Data/MessagePack.pm +++ b/perl/lib/Data/MessagePack.pm @@ -165,6 +165,12 @@ will astonish those who try to unpack byte streams with an arbitrary buffer size (e.g. C<< while(read($socket, $buffer, $arbitrary_buffer_size)) { ... } >>). We should implement the internal buffer for the unpacker. +=item UTF8 mode + +Data::MessagePack::Unpacker supports utf8 mode, which decodes strings +as UTF8-8. << Data::MessagePack->unpack >> should support utf8 mode in a +future. + =back =head1 AUTHORS diff --git a/perl/lib/Data/MessagePack/Unpacker.pod b/perl/lib/Data/MessagePack/Unpacker.pod index 37ab3db8..24dafd00 100644 --- a/perl/lib/Data/MessagePack/Unpacker.pod +++ b/perl/lib/Data/MessagePack/Unpacker.pod @@ -31,6 +31,8 @@ returns I<$up> itself. If utf8 mode is enabled, strings will be decoded as UTF-8. +The utf8 mode is disabled by default. + =item my $ret = $up->get_utf8() returns the utf8 mode flag of I<$up>.