perl: improve docs

This commit is contained in:
Fuji, Goro 2010-10-05 17:47:27 +09:00
parent a4a04872a3
commit 7c92f8a90b
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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>.