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. CStdio writestring failed while writing chinese text into a file

CStdio writestring failed while writing chinese text into a file

Scheduled Pinned Locked Moved C / C++ / MFC
help
5 Posts 5 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.
  • K Offline
    K Offline
    krishnakumartm
    wrote on last edited by
    #1

    Hi, i want to write chinese text into a text file i am using CString WriteString methos to do this writing But it is failed to write into text file help me if any ideas about writing chinese text into a file thanks in advance

    ---------------------------- KRISHNA KUMAR T M

    _ N H D 4 Replies Last reply
    0
    • K krishnakumartm

      Hi, i want to write chinese text into a text file i am using CString WriteString methos to do this writing But it is failed to write into text file help me if any ideas about writing chinese text into a file thanks in advance

      ---------------------------- KRISHNA KUMAR T M

      _ Offline
      _ Offline
      _Superman_
      wrote on last edited by
      #2

      CString class has a WriteString method ??? :wtf:

      «_Superman_»

      1 Reply Last reply
      0
      • K krishnakumartm

        Hi, i want to write chinese text into a text file i am using CString WriteString methos to do this writing But it is failed to write into text file help me if any ideas about writing chinese text into a file thanks in advance

        ---------------------------- KRISHNA KUMAR T M

        N Offline
        N Offline
        Nishad S
        wrote on last edited by
        #3

        Check this[^]

        1 Reply Last reply
        0
        • K krishnakumartm

          Hi, i want to write chinese text into a text file i am using CString WriteString methos to do this writing But it is failed to write into text file help me if any ideas about writing chinese text into a file thanks in advance

          ---------------------------- KRISHNA KUMAR T M

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #4

          High Performance Unicode Text File I/O Routines for C++[^].

          Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )

          1 Reply Last reply
          0
          • K krishnakumartm

            Hi, i want to write chinese text into a text file i am using CString WriteString methos to do this writing But it is failed to write into text file help me if any ideas about writing chinese text into a file thanks in advance

            ---------------------------- KRISHNA KUMAR T M

            D Offline
            D Offline
            David Crow
            wrote on last edited by
            #5

            krishnakumartm wrote:

            help me if any ideas about writing chinese text into a file

            For starters, you code show a relevant code snippet, the contents of the file, and the expected results.

            "Love people and use things, not love things and use people." - Unknown

            "The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch

            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