S
S
Sergey Pugovkin2018-08-20 15:54:56
MySQL
Sergey Pugovkin, 2018-08-20 15:54:56

MySQL base, utf8mb4 encoding. What encoding to put for a string identifier?

The VARCHAR field is 255 long, which is too long for a utf8mb4-encoded index
Characters: a-z0-9_- Case insensitive
.
ascii_general_ci?
And is it true that the field only with Latin does not care at all with what encoding we connect to the database?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SagePtr, 2018-08-20
@Driver86

Even more suitable is ascii_bin - which is case sensitive (identifier is the same)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question