UNICODE_STRING <-> UTF-8

Hi,

Sorry to bother for this reason, but may be somebody can answer
quickly if there is a way in DDK to convert UNICODE_STRING to
UTF-8 ‘on-the-wire’ representation and back.

Thanks in advance, Boris


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

I don’t know if WideCharToMultiByte and the inverse can be had in the
Kernel.The algorithm is very simple, so perhaps hand-coding it is the best
solution.


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

> I don’t know if WideCharToMultiByte and the inverse can be had in the

Kernel.The algorithm is very simple, so perhaps hand-coding it is the best
solution.

RtlAnsiStringToUnicodeString and back.

Max


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com