mysql - convert utf8mb4 characters to utf8 in php -


is there way convert utf8mb4 characters utf8 store in utf8 mysql database? , when database, restore utf8mb4.

goal storing phone smiley in utf8 database without having change database encoding.

for example replace first byte of characters special byte , in restoration change back?

ok did using blob type column..


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -