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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to load Cyrillic strings from resources?

How to load Cyrillic strings from resources?

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
4 Posts 4 Posters 1 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.
  • G Offline
    G Offline
    george ivanov
    wrote on last edited by
    #1

    i have cyrillic strings as string constrwints in reesource. i load it as: CString str.LoadString(IDS_STRING1); and the result is {"I?IAA?AE A?OEEOEE"} any ideas? were rgrtgrtvrtrt rtrtb brt tyuhjghj hbhbnh hnjm 1234567?

    T C M 3 Replies Last reply
    0
    • G george ivanov

      i have cyrillic strings as string constrwints in reesource. i load it as: CString str.LoadString(IDS_STRING1); and the result is {"I?IAA?AE A?OEEOEE"} any ideas? were rgrtgrtvrtrt rtrtb brt tyuhjghj hbhbnh hnjm 1234567?

      T Offline
      T Offline
      toxcct
      wrote on last edited by
      #2

      hummm hummm, what does that mean ?? :p well, i think you've probably forgotten to specify you were using UNICODE, however, the unexpexcted "I?IAA?AE A?OEEOEE" appears. am i false? have a look at TCHAR definition & use... TOXCCT alias Nicolas C.

      1 Reply Last reply
      0
      • G george ivanov

        i have cyrillic strings as string constrwints in reesource. i load it as: CString str.LoadString(IDS_STRING1); and the result is {"I?IAA?AE A?OEEOEE"} any ideas? were rgrtgrtvrtrt rtrtb brt tyuhjghj hbhbnh hnjm 1234567?

        C Offline
        C Offline
        Carlos Antollini
        wrote on last edited by
        #3

        You need to work in a computer with Cyrillic support, for example in Hebrew, or Arabic language..... Use string type TCHAR Then Use ::LoadString(HINSTANCE, UINT, LPTSTR, int)..... Best Regards Carlos Antollini Do you know piFive[^] ?

        1 Reply Last reply
        0
        • G george ivanov

          i have cyrillic strings as string constrwints in reesource. i load it as: CString str.LoadString(IDS_STRING1); and the result is {"I?IAA?AE A?OEEOEE"} any ideas? were rgrtgrtvrtrt rtrtb brt tyuhjghj hbhbnh hnjm 1234567?

          M Offline
          M Offline
          Mukkie
          wrote on last edited by
          #4

          use Unicode (define _UNICODE macro and proper entry point for executable). See MSDN for detailed description

          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