[fdo-dev] NlsMsgGet and mixed char types

Mateusz Loskot mateusz at loskot.net
Wed Dec 13 13:43:57 EST 2006


Pierre Dalcourt wrote:
> Hi Mateusz,
> 
> $ls is for wide string (wchar_t* or FdoString*)
> $hs is for ascii or multibyte strings (char*)
> $s is interpreted as either $ls or $hs depending on which method you are
> using, so its always best to explicitly use $hs or $ls.

Pierre,

Thank you for detailed explanation. Honestly, I've not known about $hs,
so I'd use $s :-)

I'd like to confirm additional but related detail, as I see the
FdoCommonNlsUtil::NLSGetMessage() function is only in versions for
char-string and there is no wide-char version.
Right?

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net




More information about the Fdo_dev mailing list