Subject: | Strings are not flagged as containing UTF-8 data |
Date: | Fri, 23 Apr 2010 17:08:55 +1000 |
To: | bug-MongoDB [...] rt.cpan.org |
From: | Andrew Whatson <whatson [...] gmail.com> |
Hi,
It seems that storing UTF-8 data in MongoDB works perfectly, however
when it is retrieved the data is not flagged as UTF-8 data in perl.
This means that you must manually call utf8::encode() on your strings
once retrieving them from MongoDB, which is a pain.
In contrast, DBI::Pg handles this fine and my strings are
automatically flagged as containing UTF-8 data.
I've attached a simple perl script to demonstrate.
Regards,
Andrew
Message body is not shown because sender requested not to inline it.