Mongodb, cyrillic text, errors

739 views Asked by At

I am using mongodb to store some cyrillic text from some feed rss News. The text is correctly stored but when I try to search a document with a simple find function:

db.test.find({'title':'РФ заняла первое место в мире по числу полицейских на душу населения / Инфографика'});

It returns me a "buffer too small" error.

and when I run

db.test.find({'title':'Прибыль из воздуха?'})

It returns me this error: SyntaxError: unterminated string literal (shell):1

What does it mean? Something wrong with text encoding or what?

0

There are 0 answers