Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Unicode - MultiByte

Unicode - MultiByte

Scheduled Pinned Locked Moved C / C++ / MFC
question
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    baerten
    wrote on last edited by
    #1

    Hi, my application is in MultiByte - CharecterSet ( Project Properties) Another "Console2" (third-partie)project is in Unicode If i make a CDC::TextOut of a string where the first element is equal to a value of i=1 to i=1600 so i get a Character-Table of the printed characters/symbols ... i see only the standard characters No DOS-Related characters, ( See Table[^] --> Codepage 850 the 4th last line (different blocks and pipes) ) Need i to set the whole project to Unicode to display those special characters? Big thanks !

    K 1 Reply Last reply
    0
    • B baerten

      Hi, my application is in MultiByte - CharecterSet ( Project Properties) Another "Console2" (third-partie)project is in Unicode If i make a CDC::TextOut of a string where the first element is equal to a value of i=1 to i=1600 so i get a Character-Table of the printed characters/symbols ... i see only the standard characters No DOS-Related characters, ( See Table[^] --> Codepage 850 the 4th last line (different blocks and pipes) ) Need i to set the whole project to Unicode to display those special characters? Big thanks !

      K Offline
      K Offline
      karle
      wrote on last edited by
      #2

      I think it would be the best to use unicode character set. You string handling is much easier than using MBCS. If you are not able to change your setting you have to convert the unicode characters to MBCS. To convert Unicode (=widechar) to MBCS use: WideCharToMultiByte to convert wide to unicode char use: MultiByteToWideChar

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups