Perfect, with the above script, it iterates on all docs and logs utf-8
problem on one specific key:
Thu Apr 29 10:33:25 connection accepted from
127.0.0.1:64630 #14
decode failed. probably invalid utf-8 string ["c?
cilegigi63"@
orange.fr]
why: TypeError: malformed UTF-8 character sequence at offset 2
=== Error catched by the JS map function: Error, for document:
4ad044b00f8bc5399300002c ===
decode failed. probably invalid utf-8 string ["c?cilegigi"@
orange.fr]
why: TypeError: malformed UTF-8 character sequence at offset 2
=== Error catched by the JS map function: Error, for document:
4ad044b00f8bc5399300002c ===
dbeval slow, time: 855ms veronica_production.$cmd
Thu Apr 29 10:33:26 query veronica_production.$cmd ntoreturn:1
command: { $eval: function find_invalid_utf8() {
var Utf8 = {encode:function (string... } reslen:61 874ms
Thu Apr 29 10:33:26 end connection
127.0.0.1:64630
So I'm ready to write a bigger script to check all the keys containing
the problematic strings.
Thanks.
> > On Wed, Apr 28, 2010 at 6:47 AM, Nicolas Fouché <
nico...@silentale.com> wrote:
> >> Hi,
>
> >> Followinghttp://
jira.mongodb.org/browse/SERVER-1056, which is more
> >> For more options, visit this group athttp://
groups.google.com/group/mongodb-user?hl=en.
> For more options, visit this group athttp://
groups.google.com/group/mongodb-user?hl=en.