Re: Unicode strings

2003-10-06 Thread Alexandre Julliard
Eric Pouech <[EMAIL PROTECTED]> writes: > the (const WCHAR[]){'T','e','x','t'} (don't forget the trailing '\0') > is the preferred. We all know it's a PITA, but it's better to put the > constraint once, at code writing time. Note that the (const WCHAR[]) cast is not portable, so you shouldn't use

Re: Unicode strings

2003-10-03 Thread Eric Pouech
Kevin Koltzau wrote: I've come upon an instance where I need to create a large lookup table of unicode strings, and was curious what the recommended way to handle this was. Using MSVC I would simply declare the string as L"Text" I only see two options currently, either declare the string as (cons