From 2482812e8724bda49c1684ca9b979dc566961f31 Mon Sep 17 00:00:00 2001 From: Kristina Chodorow Date: Wed, 23 Jun 2010 20:05:01 +0000 Subject: [PATCH] utf8 note git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@300708 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mongo/mongocollection/insert.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/reference/mongo/mongocollection/insert.xml b/reference/mongo/mongocollection/insert.xml index 64115e3f6b..cca455f227 100644 --- a/reference/mongo/mongocollection/insert.xml +++ b/reference/mongo/mongocollection/insert.xml @@ -14,6 +14,11 @@ arraya arrayoptionsarray() + + All strings sent to the database must be UTF-8. If a string is not UTF-8, a + MongoException will be thrown. To insert + (or query for) a non-UTF-8 string, use MongoBinData. +