Print Thread
Isn't DOA for Delphi2009 supported FieldAsRawByteString method?
#33732 04/01/09 02:31 AM
Joined: Apr 2009
Posts: 1
Tokyo, Japan
R
rui Offline OP
Member
OP Offline
Member
R
Joined: Apr 2009
Posts: 1
Tokyo, Japan
Hello,

data stored in the Oracle server by Shift-JIS encoding.
Internal data changes though the FieldAsString method is used
when reading out data from the Oracle server.

at Delphi2007,
FieldAsString method
=> return a value as AnsiString type
at Delphi2009,
FieldAsString method
=> return a value as String type = UnicodeString
=> downcast to AnsiString(a part of data modified)

to evade the Ansi-Unicode roundtrip conversion problem,
I want method for example,
FieldAsRawByteString method
=> return a value as RawByteString type

Re: Isn't DOA for Delphi2009 supported FieldAsRawByteString method?
rui #33742 04/02/09 10:19 AM
Joined: Aug 1999
Posts: 22,219
Member
Offline
Member
Joined: Aug 1999
Posts: 22,219
I have added this to the list of enhancement requests.


Marco Kalter
Allround Automations

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.031s Queries: 13 (0.007s) Memory: 2.4995 MB (Peak: 3.0421 MB) Data Comp: Off Server Time: 2024-05-15 10:51:00 UTC
Valid HTML 5 and Valid CSS