Re: Converting WideChar/WideString to AnsiChar/AnsiString
- From: Jamie <jamie_ka1lpa_not_valid_after_ka1lpa_@xxxxxxxxxxx>
- Date: Thu, 29 May 2008 12:46:52 -0400
ckoegl wrote:
Hi,I think Delphi does some converting on it's own how ever..
I cannot find anything definitive in the Delphi docs and in the
relevant newsgroups that answers this simple question:
What is the exact definition of the WideChar to AnsiChar conversion
(and in extension of the WideString to AnsiString conversion)?
I suppose that for all WideChar values that are valid AnsiChar values
(i.e. the ones with Ord-values of 0 to 255) are preserved in the
conversion, but what about the rest?
Cheers,
Christoph
look at these
WideCharToMultiByte
MultiByteToWideChar
FoldString
IsDBCSLeadByte
These are in the windows help, they should get you started.
http://webpages.charter.net/jamie_5"
.
- References:
- Prev by Date: Re: Converting WideChar/WideString to AnsiChar/AnsiString
- Next by Date: Re: Handle / detect <Alt> key combinations
- Previous by thread: Re: Converting WideChar/WideString to AnsiChar/AnsiString
- Next by thread: Re: Converting WideChar/WideString to AnsiChar/AnsiString
- Index(es):
Relevant Pages
|