Explorar o código

fcl-db: sqldb: add connection charset aliases "win1250" (Firebird) and "cp1250" (MySQL) (although unicode is preferred nowadays and these SBCS are just a remnant of the past)

git-svn-id: trunk@42276 -
lacak %!s(int64=6) %!d(string=hai) anos
pai
achega
f53878c0db
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      packages/fcl-db/src/sqldb/sqldb.pp

+ 2 - 0
packages/fcl-db/src/sqldb/sqldb.pp

@@ -1246,6 +1246,8 @@ begin
       FCodePage := CP_UTF8;
     'win1250','cp1250':
       FCodePage := 1250;
+    'win1251','cp1251':
+      FCodePage := 1251;
     'win1252','cp1252','latin1','iso8859_1':
       FCodePage := 1252;
     else