Re: behaviour of latin1 in mysql
Posted by: Peter Brawley
Date: April 19, 2021 07:15PM

> all default server settings/ charset as latin1, but the tables created have charset as utf8

> for the same table, I have data in both utf8 and latin1

Recipes for disaster.

You need character_set_client, character_set_server, database charset, table and column charsets to agree.

And when you inspect your recent data, it's extremely likely you'll find charset mixups, consider following the suggestionss at http://mysql.rjweb.org/doc.php/charcoll#fixes_for_various_cases

Options: ReplyQuote


Subject
Views
Written By
Posted
675
April 19, 2021 01:48AM
338
April 19, 2021 08:11AM
392
April 19, 2021 12:26PM
Re: behaviour of latin1 in mysql
353
April 19, 2021 07:15PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.