Re: Converting WideChar/WideString to AnsiChar/AnsiString
- From: Ivan Levashew <octagram@xxxxxxxxxxxxxx>
- Date: Fri, 30 May 2008 07:41:05 +0700
ckoegl пишет:
Ok, in my case I simply cannot dodge the problem: I have (for
whatever reasons) text data given as WideString and I need to call
given procedures/functions that only accept String (which in my case
means AnsiString). It is entirely acceptable that some data ist lost
during the WideString to String conversion, but: (1) All character
information that can be transferred should be transferred, and (2) I
need to know quite exactly what happens in case unconvertible
character data is encountered.
In the case these functions doesn't operate with the outer world (pure string processing) you can probably use UTF-8.
--
If you want to get to the top, you have to start at the bottom
.
- References:
- Converting WideChar/WideString to AnsiChar/AnsiString
- From: ckoegl
- Re: Converting WideChar/WideString to AnsiChar/AnsiString
- From: Rob Kennedy
- Re: Converting WideChar/WideString to AnsiChar/AnsiString
- From: ckoegl
- Converting WideChar/WideString to AnsiChar/AnsiString
- 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
|