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. Save the file in Unicode format

Save the file in Unicode format

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
3 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
    Max
    wrote on last edited by
    #1

    When I Compile my project I got this Warning "warning C4819: The file contains a character that cannot be represented in the current code page (874). Save the file in Unicode format to prevent data loss" I want to solve this problem, Please advise How can I save the file in Unicode format

    S R 2 Replies Last reply
    0
    • M Max

      When I Compile my project I got this Warning "warning C4819: The file contains a character that cannot be represented in the current code page (874). Save the file in Unicode format to prevent data loss" I want to solve this problem, Please advise How can I save the file in Unicode format

      S Offline
      S Offline
      Stuart Dootson
      wrote on last edited by
      #2

      Does this page[^] help? It's talking about how to save files with different encodings in VS2005, using the File Save dialog.

      1 Reply Last reply
      0
      • M Max

        When I Compile my project I got this Warning "warning C4819: The file contains a character that cannot be represented in the current code page (874). Save the file in Unicode format to prevent data loss" I want to solve this problem, Please advise How can I save the file in Unicode format

        R Offline
        R Offline
        Rajesh R Subramanian
        wrote on last edited by
        #3

        VS editor now supports Unicode characters as well (for strings to be used in the code). If you don't know what Unicode is, I suggest you to please read up on that.

        It is a crappy thing, but it's life -^ Carlo Pallini

        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