Unicode - I18N

Unicode - I18N

Encodings - Unicode - I18N Généralités......................................................................................................................................................................3 Locales............................................................................................................................................................................6 Locale..........................................................................................................................................................................6 Character encoding.....................................................................................................................................................6 Code pages..................................................................................................................................................................6 Codepage Identifiers...................................................................................................................................................7 GetCPInfo...................................................................................................................................................................9 setlocale.....................................................................................................................................................................10 Preprocessor directive...............................................................................................................................................12 Language strings recognized by setlocale.................................................................................................................12 Country/Region strings recognized by setlocale.......................................................................................................13 _setmbcp...................................................................................................................................................................14 Code Pages in Outlook 2002.....................................................................................................................................14 Charsets in Microsoft Internet Explorer 5.................................................................................................................15 How to Encode XML Data...........................................................................................................................................19 Cross-Platform Data Formats....................................................................................................................................19 A Lesson in Character Encoding..........................................................................................................................19 Unicode.................................................................................................................................................................19 Content-Type Header............................................................................................................................................20 Content-Type Metatags.........................................................................................................................................20 Character Entities..................................................................................................................................................20 XML and Character Encoding..................................................................................................................................20 Character Sets and the MSXML DOM.....................................................................................................................21 Creating New XML Documents with MSXML.......................................................................................................21 Conclusion................................................................................................................................................................22 For More Information...............................................................................................................................................22 Unicode Programming Sumary.....................................................................................................................................23 Unicode Enabling......................................................................................................................................................23 Entry point in DLL and EXE........................................................................................................................................25 Linker option.............................................................................................................................................................25 Using Generic-Text Mappings......................................................................................................................................26 String Manipulation......................................................................................................................................................27 _bstr_t............................................................................................................................................................................29 Construction..............................................................................................................................................................29 Remarks................................................................................................................................................................29 Assign........................................................................................................................................................................29 Remarks................................................................................................................................................................29 Example................................................................................................................................................................29 Output....................................................................................................................................................................30 Files and Streams..........................................................................................................................................................31 Text and Binary Streams...........................................................................................................................................31 Byte and Wide Streams.............................................................................................................................................32 Controlling Streams..................................................................................................................................................32 Stream States.............................................................................................................................................................32 Unicode™ Stream I/O in Text and Binary Modes....................................................................................................33 Quick reference.........................................................................................................................................................33 Windows & Unicode.....................................................................................................................................................35 Généralités................................................................................................................................................................35 RegisterClass.............................................................................................................................................................35 IsWindowUnicode....................................................................................................................................................35 CallWindowProc.......................................................................................................................................................35 DefWindowProc........................................................................................................................................................35 Subclassing and Automatic Message Translation.....................................................................................................35 I18N API.......................................................................................................................................................................37 National Language Support NLSAPI functions........................................................................................................37 Multilingual API functions.......................................................................................................................................37 Font Technology.......................................................................................................................................................38 Selection by the User............................................................................................................................................38

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    47 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us