Browse Source

fcl-db: change fieldtype for ftWideString and ftFixedWideChar from 'string' to 'string.uni' (Delphi compatibility).
Corrects my prior commit.
Note: Delphi stores characters outside ASCII as numeric character references in form: &#D;

git-svn-id: trunk@23035 -

lacak 12 years ago
parent
commit
0775705e8f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/fcl-db/src/base/xmldatapacketreader.pp

+ 2 - 2
packages/fcl-db/src/base/xmldatapacketreader.pp

@@ -91,7 +91,7 @@ const
       'bin.hex:Graphics',
       'bin.hex:Graphics',
       '',
       '',
       'string',             // ftFixedChar
       'string',             // ftFixedChar
-      'string',             // ftWideString
+      'string.uni',         // ftWideString
       'i8',
       'i8',
       '',
       '',
       '',
       '',
@@ -105,7 +105,7 @@ const
       '',
       '',
       '',
       '',
       'fixedFMT',
       'fixedFMT',
-      'string',             // ftFixedWideChar
+      'string.uni',         // ftFixedWideChar
       'bin.hex:WideText'    // ftWideMemo
       'bin.hex:WideText'    // ftWideMemo
     );
     );