Top "Ansistring" questions

An ANSI string is an array of 8 bit characters from the ANSI character set, a superset of the 7 bit ASCII character set, terminated by a binary zero.

Converting UTF8 to ANSI (ISO-8859-1) in Delphi

I have a question about a code that i have to convert UTF8 strings to ANSI strings. My code works …

delphi utf-8 delphi-2010 ansistring
How to convert AnsiString to UnicodeString in Delphi XE4

exzample code: var str1 : String; str2 : AnsiString; .... str2 := ....; str1 := String(str2); I converted such as above,but it didn't work.…

delphi delphi-xe4 unicode-string ansistring
Delphi: How to encode TIdBytes to Base64 string?

How to encode TIdBytes to Base64 string (not AnsiString) ? ASocket.IOHandler.CheckForDataOnSource(5); if not ASocket.Socket.InputBufferIsEmpty then begin ASocket.…

string delphi base64 ansistring
Converting UnicodeString to PAnsiChar in Delphi XE

In Delphi XE I am using the BASS audio library, which contains this function: function BASS_StreamCreateURL(url: PAnsiChar; offset: …

delphi pointers delphi-xe unicode-string ansistring
AnsiString To Stream

I created the following code: Function AnsiStringToStream(Const AString: AnsiString): TStream; Begin Result := TStringStream.Create(AString, TEncoding.ANSI); End; But …

delphi stream delphi-xe2 ansistring