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. VC++ projects on Japanese OS not compile on English OS

VC++ projects on Japanese OS not compile on English OS

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestion
6 Posts 6 Posters 2 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.
  • A Offline
    A Offline
    am 2009
    wrote on last edited by
    #1

    I have one VC++ projects which was build on VS2003 on japanese windows XP OS, but when i compile same program on VS2003 English XP,i have found syntax error related to ; { }. My code contains some japanese characters as string. Is it necessary to compile project on japanese OS only? Thanks Atul

    R L P M 4 Replies Last reply
    0
    • A am 2009

      I have one VC++ projects which was build on VS2003 on japanese windows XP OS, but when i compile same program on VS2003 English XP,i have found syntax error related to ; { }. My code contains some japanese characters as string. Is it necessary to compile project on japanese OS only? Thanks Atul

      R Offline
      R Offline
      Rotted Frog
      wrote on last edited by
      #2

      It shouldn't matter which OS you are compiling on. It is probably an issue with code pages. You may need to save the source file in UTF-8 format before you compile. If this still has problems, can you post a code sample and the errors so we can see what is happening.

      1 Reply Last reply
      0
      • A am 2009

        I have one VC++ projects which was build on VS2003 on japanese windows XP OS, but when i compile same program on VS2003 English XP,i have found syntax error related to ; { }. My code contains some japanese characters as string. Is it necessary to compile project on japanese OS only? Thanks Atul

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        am 2009 wrote:

        ,i have found syntax error related to ; { }.

        We cannot guess what these errors might be, please show your code and the related messages.

        am 2009 wrote:

        My code contains some japanese characters as string.

        This should not be a problem as long as you have the Japanese language pack installed.

        The best things in life are not things.

        1 Reply Last reply
        0
        • A am 2009

          I have one VC++ projects which was build on VS2003 on japanese windows XP OS, but when i compile same program on VS2003 English XP,i have found syntax error related to ; { }. My code contains some japanese characters as string. Is it necessary to compile project on japanese OS only? Thanks Atul

          P Offline
          P Offline
          pandit84
          wrote on last edited by
          #4

          Have a look at this article http://msdn.microsoft.com/en-us/library/b6ewb9fy.aspx

          modified on Tuesday, May 10, 2011 4:56 AM

          S 1 Reply Last reply
          0
          • P pandit84

            Have a look at this article http://msdn.microsoft.com/en-us/library/b6ewb9fy.aspx

            modified on Tuesday, May 10, 2011 4:56 AM

            S Offline
            S Offline
            ShilpiP
            wrote on last edited by
            #5

            Link is not correct. Page not found.

            "Every Little Smile can touch Somebody's Heart... May we find Hundreds of Reasons to Smile Everyday... and May WE be the Reason for someone else to smile always!" (ICAN)

            1 Reply Last reply
            0
            • A am 2009

              I have one VC++ projects which was build on VS2003 on japanese windows XP OS, but when i compile same program on VS2003 English XP,i have found syntax error related to ; { }. My code contains some japanese characters as string. Is it necessary to compile project on japanese OS only? Thanks Atul

              M Offline
              M Offline
              Michael Dunn
              wrote on last edited by
              #6

              The safest thing to do is have only ASCII in your source code, and use escape sequences (like \x1234) for characters outside of the ASCII range.

              --Mike-- Dunder-Mifflin, this is Pam.

              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