M
M
MherArsh2016-03-16 21:36:18
MySQL
MherArsh, 2016-03-16 21:36:18

ServiceStack OrmLite utf-8, does anyone know how to make ServiceStack friends with Russian letters?

Hi all!
I need the help of smart people. I am at a loss in solving the problem, thanks in advance to everyone!
I started writing a service on ServiceStack , my MySQL DBMS is on linux.
The database is partially Russian, and accordingly the database has: charset = utf8, collation name = utf8_general_ci .
When I make a selection of some data, it doesn’t matter through a query or through a lambda divination, then I get the correct result,
but when I try to make some kind of query where there are Russian letters, for example, insert<>, then they get into the database as question marks, someone may I help??
In habré there are people who worked with this, but I can’t contact them, if someone can write or get mail, I will be very grateful!
habrahabr.ru/post/256791/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem Voronov, 2016-03-17
@MherArsh

you can try to set the encoding in the connection string. There were similar problems with cp1251, it helped.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question