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. French localization using Single-byte character set (SBCS)

French localization using Single-byte character set (SBCS)

Scheduled Pinned Locked Moved C / C++ / MFC
csharpc++comtutorialquestion
5 Posts 2 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.
  • S Offline
    S Offline
    Selvam R
    wrote on last edited by
    #1

    Hi, We are going to support our application for French localization (iso-8859-1 Windows-1252). The application developed using C++ and C# technologies. As per my understanding, if we support Unicode or MBCS (Multi-byte character set), we won’t get any data loss. Can we use normal string function for handle French characters or _MBCS requires for handle French characters? Example: Can we

    if( *sz1 == 'A' )

    for Character Comparison or

    if( !_mbccmp( sz1, sz2) )

    Thanks and Regards, Selvam, http://www15.brinkster.com/selvamselvam/

    L 1 Reply Last reply
    0
    • S Selvam R

      Hi, We are going to support our application for French localization (iso-8859-1 Windows-1252). The application developed using C++ and C# technologies. As per my understanding, if we support Unicode or MBCS (Multi-byte character set), we won’t get any data loss. Can we use normal string function for handle French characters or _MBCS requires for handle French characters? Example: Can we

      if( *sz1 == 'A' )

      for Character Comparison or

      if( !_mbccmp( sz1, sz2) )

      Thanks and Regards, Selvam, http://www15.brinkster.com/selvamselvam/

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

      It looks like you plucked your question from here[^] where it explains the issue. It does not matter what character encoding you use if it's the same everywhere, just use the correct functions for your string manipulation, and ensure all constants are held in the correct encoding.

      d@nish[^] has the answer.

      S 1 Reply Last reply
      0
      • L Lost User

        It looks like you plucked your question from here[^] where it explains the issue. It does not matter what character encoding you use if it's the same everywhere, just use the correct functions for your string manipulation, and ensure all constants are held in the correct encoding.

        d@nish[^] has the answer.

        S Offline
        S Offline
        Selvam R
        wrote on last edited by
        #3

        Hi Richard, Thanks for your help. so, I can use ASCII functions(string manipulations, Windows API functions , etc) for my French application. Is it?

        Thanks and Regards, Selvam, http://www15.brinkster.com/selvamselvam/

        L 1 Reply Last reply
        0
        • S Selvam R

          Hi Richard, Thanks for your help. so, I can use ASCII functions(string manipulations, Windows API functions , etc) for my French application. Is it?

          Thanks and Regards, Selvam, http://www15.brinkster.com/selvamselvam/

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

          R.selvam wrote:

          so, I can use ASCII functions(string manipulations, Windows API functions , etc) for my French application. Is it?

          Yes, assuming all your text is in ASCII.

          d@nish[^] has the answer.

          S 1 Reply Last reply
          0
          • L Lost User

            R.selvam wrote:

            so, I can use ASCII functions(string manipulations, Windows API functions , etc) for my French application. Is it?

            Yes, assuming all your text is in ASCII.

            d@nish[^] has the answer.

            S Offline
            S Offline
            Selvam R
            wrote on last edited by
            #5

            Thank you.

            Thanks and Regards, Selvam, http://www15.brinkster.com/selvamselvam/

            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