Microsoft HomeproductssearchsupportshopWrite Us   Microsoft Home
Magazine
 |  Community
 |  Workshop
 |  Tools & Samples
 |  Training
 |  Site Info

Workshop

MLCONVCHAR Enumerated Type


Used as an inbound or outbound flag for character set conversion.

Syntax

typedef enum tagMLCONVCHARF{
    MLCONVCHARF_NONE           = 0,
    MLCONVCHARF_AUTODETECT     = 1,
    MLCONVCHARF_NCR_ENTITIZE   = 2,
    MLCONVCHARF_NAME_ENTITIZE  = 4,
    MLCONVCHARF_USEDEFCHAR     = 8,
    MLCONVCHARF_NOBESTFITCHARS = 16
} MLCONVCHAR;

Constants

MLCONVCHARF_NONE
Inbound flag that specifies that the default setting is to be used.
MLCONVCHARF_AUTODETECT
Outbound flag a client can use to verify if the Conversion Object has detected the source code page. When this is set, IMLangConvertCharset::GetSourceCodePage returns the detected value for the source code page.
MLCONVCHARF_NCR_ENTITIZE
Inbound flag a client can specify when creating or initializing the Conversion Object. This flag applies to Unicode-to-multibyte conversion only, and it indicates that any character code that cannot be displayed in the destination multibyte code page is encoded as the corresponding numeric entity code.
MLCONVCHARF_NAME_ENTITIZE
Inbound flag a client can specify when creating or initializing the Conversion Object. This flag applies to Unicode-to-multibyte conversion only, and it indicates that any character code that cannot be displayed in the destination multibyte code page is encoded as the corresponding named entity code.
MLCONVCHARF_USEDEFCHAR
Inbound flag a client can specify when using the IMultiLanguage2::ConvertStringFromUnicodeEx and IMultiLanguage2::ConvertStringToUnicodeEx methods. This flag applies to Unicode-to-multibyte conversion only, and it indicates that any character code that cannot be displayed in the destination multibyte code page is output as the specified sequence of characters.
MLCONVCHARF_NOBESTFITCHARS
Flag that instructs the method not to convert characters from a supporting code page to a "best fit" character on a nonsupporting code page. For example, this flag would prevent the "®" symbol from being converted to a normal "R" when converting from a supporting code page to a nonsupporting code page.

Remarks

The MLCONVCHARF_AUTODETECT and MLCONVCHARF_NCR_ENTITIZE flags are available for Internet Explorer 4.0 and later. The others are available only for Internet Explorer 5 and later.

Enumerated Type Information

Windows NT Use version 4.0 and later.
Windows Use Windows 95 and later.
Header Declared in Mlang.h.
Minimum availability Internet Explorer 5

See Also

IMLangConvertCharset, IMLangConvertCharset::GetProperty, IMLangConvertCharset::Initialize, IMultiLanguage::CreateConvertCharset


Does this content meet your programming needs? Write us!

Back to topBack to top

© 1998 Microsoft Corporation. All rights reserved. Terms of use.

 

Magazine Home
Ask Jane
DHTML Dude
Extreme XML
For Starters
More or Hess
Servin' It Up
Site Lights
Web Men Talking
Member Community Home
Benefits: Freebies & Discounts
Benefits: Promote Your Site
Benefits: Connect with Your Peers
Benefits at a Glance
Online Special-Interest Groups
Your Membership
SBN Stores
Join Now
Workshop Home
Essentials
Content & Component Delivery
Component Development
Data Access & Databases
Design
DHTML, HTML & CSS
Extensible Markup Language (XML)
Languages & Development Tools
Messaging & Collaboration
Networking, Protocols & Data Formats
Reusing Browser Technology
Security & Cryptography
Server Technologies
Streaming & Interactive Media
Web Content Management
Workshop Index
Tools & Samples Home
Tools
Samples, Headers, Libs
Images
Sounds
Style Sheets
Web Fonts
Training Home
SBN Live Seminars
SBN Live Chats
Courses
Peer Support
CD-ROM Training
Books & Training Kits
Certification
SBN Home
New to SBN?
What's New on SBN
Site Map
Site Search
Glossary
Write Us
About This Site