M
M
Monty Python2017-12-14 18:41:54
Character encoding
Monty Python, 2017-12-14 18:41:54

How to store Russian text?

What is the best way to store content for users in UTF-8
or like this:

привет как дела

What are the pluses and minuses of this?
PS more and more often I meet the second option, why I don’t know, help with the answer

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey, 2017-12-14
@Austin1

Store everything in UTF-8, this is quite normal practice. Each character in this encoding occupies two bytes. Storing through your second option is at least more wasteful in terms of data volumes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question