mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-04 06:54:05 +02:00
fcl-db: sqldb: add MySQL 'utf8mb4' to list of UTF-8 charsets. Note: MySQL 'utf8' is MBCS with CharSize=3
git-svn-id: trunk@39001 -
This commit is contained in:
parent
17d218c413
commit
ea124c68f5
@ -1237,7 +1237,7 @@ begin
|
||||
// aliases listed here are commonly used, but not recognized by CodePageNameToCodePage()
|
||||
ConnectionCharSet := LowerCase(GetConnectionCharSet);
|
||||
case ConnectionCharSet of
|
||||
'utf8','utf-8':
|
||||
'utf8','utf-8','utf8mb4':
|
||||
FCodePage := CP_UTF8;
|
||||
'win1250','cp1250':
|
||||
FCodePage := 1250;
|
||||
|
Loading…
Reference in New Issue
Block a user