Re: How to disable unicode from OS image

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Paul G. Tobey [eMVP] (ptobey)
Date: 11/02/04


Date: Tue, 2 Nov 2004 16:59:22 -0700

Windows CE is *always* Unicode. There may be some MBCS versions of some
functions, but the OS itself operates in Unicode.

Why would you want to do that?

Paul T.

"Nguyen Nguyen" <nnguyen@triverity.com> wrote in message
news:eACEc7SwEHA.2116@TK2MSFTNGP14.phx.gbl...
> Hello experts,
>
> How do I disable all the unicode stuff from the OS image? I selected US
> locale, but it still uses wide character api. For example, the WCHAR is
> defined as wchar_t as supposed to char. The minute I hand coded #undef
> UNICODE, platform builder complained about not being able to find the
> ascii
> version of the library. In my case, the error message is : "unresolved
> external symbol FindNextFileA"
>
> Thanks,
>
> Nguyen
>
>



Relevant Pages

  • Re: Windows CE 6.0 and MBCS
    ... SetWindowText(), though, does not exist in a MBCS version ... On desktop Windows, there are two versions of every such call; ... SetWindowTextWfor Unicode and SetWindowTextAfor MBCS. ...
    (microsoft.public.windowsce.embedded)
  • Re: Font for a menu?
    ... It wouldn't be so bad if the Windows key were somewhere else on the keyboard, ... That's the one - the main problem is that Microsoft don't distribute a font ... I think the Unicode set has been ... flags exist in the set - but only flags for upward stems. ...
    (microsoft.public.vc.mfc)
  • Re: Font for a menu?
    ... and I haven't found any font with it. ... I think the Unicode set has been defined by classical musicians with a strong interest in early plainsong :-) ... They are intended to join onto stems via the mechanism for creating composite characters by the look of it, but stems have different lengths and it isn't clear to me how this will work. ... To get flags for downward stems the existing flags will have to be reflected about a horizontal line - do Windows drawing functions allow this? ...
    (microsoft.public.vc.mfc)
  • Re: How to Get the ByteLength from CString when it is Unicode
    ... UTF8 is one of many MBCS encodings. ... Unicode is not an MBCS; UTF8 is (or at least the WideCharToMultiByte API call thinks it ... The number of characters is based on interpreting 'character' as WCHAR in Unicode and CHAR ...
    (microsoft.public.vc.mfc)
  • Re: Filename Encoding Help
    ... I suggest UTF-8, it's the most efficient for regular text, and it's the default for all methods reading and writing text files in .NET. ... UTF-16 but I am not sure what Windows Vista does. ... UTF-8 can represent the full Unicode spectrum, but many characters wind up encoded in just one or two bytes. ...
    (microsoft.public.dotnet.framework)