Home | Unicode Tasks | Multibyte Character Set (MBCS) Tasks
Use the following tips:
if( *sz1 == 'A' )
if( !_mbccmp( sz1, sz2) )
This ensures that both bytes of a double-byte character are compared for equality.
See Also Buffer Overflow