Answer the question
In order to leave comments, you need to log in
How to decode Cyrillic from bson, msgpack via js?
Hello, I'm stupid, but I just can't get the correct decoding of the Cyrillic alphabet from bson, msgpack
Gives out all sorts of crap, for example:
...
buffer = msgpack.encode("Русь!");
decoded = msgpack.decode(buffer);
console.log(decoded); //выдает: " CAL!"
...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question