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. UTF-8 need help

UTF-8 need help

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorial
5 Posts 3 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.
  • M Offline
    M Offline
    mohant net
    wrote on last edited by
    #1

    Hi All, I need very basic program in c using UTF charecter. For example: Give the input as UTF character and Print the same input as a output. Thanks in Advance..........................

    Mohan T

    I N 2 Replies Last reply
    0
    • M mohant net

      Hi All, I need very basic program in c using UTF charecter. For example: Give the input as UTF character and Print the same input as a output. Thanks in Advance..........................

      Mohan T

      I Offline
      I Offline
      Iain Wiseman
      wrote on last edited by
      #2

      Is this using microsoft products. If so then why the need for C rather than C++. Might be able to help Iain

      M 1 Reply Last reply
      0
      • I Iain Wiseman

        Is this using microsoft products. If so then why the need for C rather than C++. Might be able to help Iain

        M Offline
        M Offline
        mohant net
        wrote on last edited by
        #3

        Thanks for ur reply...But we created all codes in C..only this part pending......

        Mohan T

        I 1 Reply Last reply
        0
        • M mohant net

          Hi All, I need very basic program in c using UTF charecter. For example: Give the input as UTF character and Print the same input as a output. Thanks in Advance..........................

          Mohan T

          N Offline
          N Offline
          Naveen
          wrote on last edited by
          #4

          You can use the MultiByteToWideChar() api to convert a UTF character to UNICODE character.

          nave [OpenedFileFinder] [My Blog]

          1 Reply Last reply
          0
          • M mohant net

            Thanks for ur reply...But we created all codes in C..only this part pending......

            Mohan T

            I Offline
            I Offline
            Iain Wiseman
            wrote on last edited by
            #5

            So are you restricted to C because of a technology choice. You are using Microsoft. You need to look for support for "locale". Possibly can help but google is your friend.

            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