Does anyone have any hints or points to look out for when trying to migrate MySQL tables from standard case-insenstive swedish or ascii-charsets to utf-8? Some of the projects I participate in are striving for better internationalization, and the database will be a significant part of this change.
Before we move on to changing the database, we are going to transform each site to use the UTF-8 character encoding (from least critical to most) to ensure that all input / output data uses the same character set.
Thanks for any help
Some tips:
CHAR
VARCHAR
SET NAMES utf8
I am going to go to the following sites / articles to find the answer.
Absolute Minimum Every software developer Absolutely, positively needs to know about Unicode and character sets (no excuses!) - Joel on Software
UTF-8 and Unicode FAQs
Hanselminutes episode "Sorting Internationalization with Michael Kaplan"
And I also just found an article about Derek Sivers @ O'Reilly ONLamp Blog when I wrote this. Rotate MySQL data in latin1 to utf8 utf-8
Beware of index length restrictions. If the table is structured, say:
a varchar (255) b varchar (255) key ('a', 'b')
You will pass a limit of 1000 bytes per key length. 255 + 255 is fine, but 255 * 3 + 255 * 3 will not work.
The CHAR and VARCHAR columns will use 3 times more disk space.
Only if they are filled with Latin-1 ordinals> 128. Otherwise, the increased utilization of the UTF-8 space is minimal.
Comparison is not always favorable. You will get umlats mapped to non-dumb versions, which is not always correct. You can go w / utf8_bin, but then everything is also case sensitive.
Source: https://habr.com/ru/post/1276572/More articles:Recheck SQL Server - sqlconcatenating strings with unknown length in COBOL - stringWhat is a good method for extracting text from a PDF using C # or classic ASP (VBScript)? - pdfHow to determine if a Flex application will lose an application - flexHow can a simple tree algorithm be encoded in a functional language? - algorithmSlow SQL query due to inner and left join? - performancehttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1276574/how-would-you-migrate-hundreds-of-ms-access-databases-to-a-central-service&usg=ALkJrhjtRIZ4bXK3DTIdWViMjVOFPoKlkABest Programming Language for Writing Windows File Manager Application - c #Are there any good oracle podcasts? - oracleProblem installing GODI - linuxAll Articles