Hi Jason,
If you want the string to be transcoded to the local code page, then you
can use the function TranscodeToLocalCodePage(), then copy the transcoded
characters into a std::string instance. If you need a different encoding,
you'll need to create a transcoder for that encoding, transcode the
characters into a temporary buffer, then copy the transcoded characters
into a std:::string instance.
Dave
"Jason Jesso"
<[EMAIL PROTECTED] To:
[email protected]
atrix.com> cc: (bcc: David N
Bertoni/Cambridge/IBM)
Subject: Re: XalanDOMString
02/06/2004 11:45
AM
Please respond
to xalan-c-users
I would like to get a C++ std::string.
Thanks
[EMAIL PROTECTED] wrote:
>
>
>Hi Jason,
>
>Do you mean a std::string instance or a C-style null terminated array of
>characters (const char*)?
>
>Dave
>
>
>
>|---------+--------------------------->
>| | "Jason Jesso" |
>| | <[EMAIL PROTECTED]|
>| | atrix.com> |
>| | |
>| | 02/06/2004 11:12|
>| | AM |
>| | Please respond |
>| | to xalan-c-users|
>|---------+--------------------------->
>
>---------------------------------------------------------------------------------------------------------------|
> |
|
> | To: [email protected]
|
> | cc: (bcc: David N Bertoni/Cambridge/IBM)
|
> | Subject: XalanDOMString
|
>
>---------------------------------------------------------------------------------------------------------------|
>
>
>
>I'm no expert C++ programmer, yet.
>
>I'm trying to get a C++ string from a XalanDOMString.
>
>Can't seem to figure it out.
>
>Can you help?
>
>
>
>
>
>
>
- XalanDOMString Jason Jesso
- Re: XalanDOMString david_n_bertoni
- Re: XalanDOMString Jason Jesso
- RE: XalanDOMString david_n_bertoni
- RE: XalanDOMString Karpinski, Charles
