Unicode编码网页文件如何用delphi转换为ansi编码?请给出实例,谢谢!(48分)

  • 主题发起人 主题发起人 delphi!!!
  • 开始时间 开始时间
D

delphi!!!

Unregistered / Unconfirmed
GUEST, unregistred user!
Unicode编码网页文件如何用delphi转换为ansi编码?请给出实例,谢谢!

只有这么多分了,请多包涵,谢谢。
 
uses HTTPApp;
 
function DosPathToUnixPath(const Path: string): string;
function HTTPDecode(const AStr: String): string;
function HTTPEncode(const AStr: String): string;
function HTMLEncode(const AStr: String): String;
function HTMLDecode(const AStr: String): String;
function ParseDate(const DateStr: string): TDateTime;
procedure ExtractHTTPFields(Separators, WhiteSpace: TSysCharSet; Content: PChar;
Strings: TStrings; StripQuotes: Boolean = False);
procedure ExtractHeaderFields(Separators, WhiteSpace: TSysCharSet; Content: PChar;
Strings: TStrings; Decode: Boolean; StripQuotes: Boolean = False);
function StatusString(StatusCode: Integer): string;
function UnixPathToDosPath(const Path: string): string;
function MonthStr(DateTime: TDateTime): string;
function DayOfWeekStr(DateTime: TDateTime): string;
 
后退
顶部