D
D
Dmitry2021-02-03 20:19:08
MySQL
Dmitry, 2021-02-03 20:19:08

Is there an iconv encoding that matches the utf8_general_ci encoding in mysql?

It is necessary to clean the input text in utf8 from all characters not supported by the database encoding.
Particularly from emoji. Of course, you can use a regular expression, but I did not find a detailed description of the encoding restrictions in mysql

Answer the question

In order to leave comments, you need to log in

4 answer(s)
R
Rsa97, 2021-02-03
@demon416nds

utf8 - one-, two- and three-byte characters from \u0000 to \uFFFF.
utf8mb4 - one-, two-, three- and four-byte characters from \u000000 to \u10FFFF.

M
Maxim Timofeev, 2017-08-07
@webinar

You can draw in html using canvas. But I would do with svg. You can also just throw a picture of the house on the back and mark it up with the help <map>
. But with svg it’s more convenient for me, since the house can be generated with different configurations.

E
Exploding, 2017-08-07
@Exploding

And I would ul-ohm and already podmarafetil in css ...
The roof :before the picture on the BG, the first floor :after also the picture on the BG
And the rest is just right for the ul list is very suitable ...
Even OL-ohm, and floors will be numbered automatically :)

<ol reversed>
<li>...</li>
</ol>

V
Vitaly Stolyarov, 2017-08-07
@Ni55aN

Better on SVG

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question