Browse Source

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 6 years ago
parent
commit
f53878c0db
1 changed files with 2 additions and 0 deletions
  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