summaryrefslogtreecommitdiff
path: root/rtl/inc/wstrings.inc
diff options
context:
space:
mode:
authorpaul <paul@3ad0048d-3df7-0310-abae-a5850022a9f2>2011-09-16 14:57:25 +0000
committerpaul <paul@3ad0048d-3df7-0310-abae-a5850022a9f2>2011-09-16 14:57:25 +0000
commit63613b663566bfafd5c7e42da7daeb508ca27f27 (patch)
treefce9aff0cbc43a524c92fae3b4220ec37c91f178 /rtl/inc/wstrings.inc
parent360ad2171e215b09620be05c5e1dc77eb97e8664 (diff)
downloadfpc-cpstrnew.tar.gz
rtl: change UTF8Decode, UTF8Encode, AnsiToUTF8, UTF8ToAnsi to use RawByteString as arguments/result for compatibility with the old code and also with delphicpstrnew
git-svn-id: http://svn.freepascal.org/svn/fpc/branches/cpstrnew@19076 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'rtl/inc/wstrings.inc')
-rw-r--r--rtl/inc/wstrings.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtl/inc/wstrings.inc b/rtl/inc/wstrings.inc
index 08f3a6d16b..f1fbeb3ded 100644
--- a/rtl/inc/wstrings.inc
+++ b/rtl/inc/wstrings.inc
@@ -1650,7 +1650,7 @@ function UTF8ToUnicode(Dest: PWideChar; MaxDestChars: SizeUInt; Source: PChar; S
end;
-function UTF8Encode(const s : WideString) : UTF8String;
+function UTF8Encode(const s : WideString) : RawByteString;
var
i : SizeInt;
hs : UTF8String;