Re: Will Multibyte app work for Chinese users?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: David Lowndes (davidl_at_example.invalid)
Date: 02/14/05


Date: Mon, 14 Feb 2005 00:06:35 +0000

Mike,

>I have an application which I built in vc 6.
>A Chinese user running Simplified Chinese Win2000 pro has reported
>that it fails on his sytem. I presume this is because I didn't write
>and compile with Unicode support.

No, if you've coded your application appropriately (not assumed single
byte characters where you shouldn't), the existing code should work on
a Chinese language (multi-byte) operating system.

>Now I've upgraded to VS.Net 2003, and am considering building a
>Unicode version of my app. However, I have noticed the multibyte
>option. Will multibyte compilation solve my problem with Chinese
>users?

The "multi-byte" option is what you'll have been using anyway if
you've not built with UNICODE and _UNICODE defined.

Dave

-- 
MVP VC++ FAQ: http://www.mvps.org/vcfaq


Relevant Pages

  • Re: UNICODE to MBCS
    ... a conversion internally from Unicode encoding to ANSI encoding. ... INI = UNICODE containing code points for English and Chinese ... Chinese characters where all unresolved and appearing as '?'. ...
    (microsoft.public.vc.language)
  • Re: VB - Ascii to Unicode and then Unicode to UTF-8 conversion (Very desperate!!)
    ... Latin together) then you have to use a Unicode column type. ... AscW returns the real Unicode character ... for Chinese characters, ... then the next thing to worry about is your CSV file. ...
    (microsoft.public.vb.general.discussion)
  • Re: MFC(VC6) Application Localization from French to Chinese(RPC)
    ... I didn't think you could do a Unicode .RC file ... I even tried the application in Chinese OS. ... the reason is because I am using mutiple .rc files in one ... display like "??". ...
    (microsoft.public.vc.mfc)
  • Re: Write Line problem when writing simplified chinese characters
    ... Chinese in Excel VBA for environment MS Office 2000 and/or 2003. ... > I wonder if some different conversion is required from GB to Unicode. ... >>>Dim fso As New FileSystemObject ...
    (microsoft.public.excel.programming)
  • Re: VB Chinese Code Problem
    ... Column types like nvarchar will store text in Unicode format. ... Similarly, when storing String variables back to the database, no ... In order to successfully show the Chinese characters on your screen, ...
    (microsoft.public.vb.general.discussion)