Commit Graph

3 Commits

Author SHA1 Message Date
yury
4cec8df547 * Do not use DOS code pages for Android. Now all CP string tests pass on Android.
git-svn-id: branches/targetandroid@23390 -
2013-01-15 11:55:24 +00:00
paul
f5d2c3a446 tests: fix test for unixes
git-svn-id: trunk@19511 -
2011-10-19 06:42:51 +00:00
paul
c6ca9e5091 compiler:
- add helper function getansistringcodepage which returns explicitly set codepage or 0 in other case
  - add helper function getansistringdef which return a def with explicitly set codepage or cansistringtype in other case
  - change tstoreddef.createnai constructor to allow set codepage in constructor
  - don't convert string constants to rawbytestring. if string constant already has a codepage - preserve it or convert to ansistring codepage (delphi compatible)
  - don't perform string conversion from ansistring to strings with explicitly set codepage (by directive or by compiler switch) and vice versa (delphi compatible)
  + test which covers most of the cases

git-svn-id: trunk@19510 -
2011-10-19 02:45:52 +00:00