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#
  4. Data Encoding (System.Text.Encoding)

Data Encoding (System.Text.Encoding)

Scheduled Pinned Locked Moved C#
questiontools
6 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.
  • B Offline
    B Offline
    BLaZiNiX
    wrote on last edited by
    #1

    What is the default encoding method of anything else instead of text files like : EXE, Archive File (ZIP,RAR,ACE,...) and all others stuff, I tried Unicode Encoding but It;s not working. I created a multiple file tools and everythings work fine but when I extract the files which are EXE and archives I don't have the correct encoding method because the files are corrupted or don't have the same size, but when I created the multiple files everything seems to be ok because i have one file with the same size as the sum of all the files in this file anyone have the answer to this question ? Thanks

    N 1 Reply Last reply
    0
    • B BLaZiNiX

      What is the default encoding method of anything else instead of text files like : EXE, Archive File (ZIP,RAR,ACE,...) and all others stuff, I tried Unicode Encoding but It;s not working. I created a multiple file tools and everythings work fine but when I extract the files which are EXE and archives I don't have the correct encoding method because the files are corrupted or don't have the same size, but when I created the multiple files everything seems to be ok because i have one file with the same size as the sum of all the files in this file anyone have the answer to this question ? Thanks

      N Offline
      N Offline
      Neil Van Note
      wrote on last edited by
      #2

      I am not sure what you are trying to achieve, but the types of files you are talking about wouldn't have a text encoding. They are straight 8 bit with no encoding.

      B 1 Reply Last reply
      0
      • N Neil Van Note

        I am not sure what you are trying to achieve, but the types of files you are talking about wouldn't have a text encoding. They are straight 8 bit with no encoding.

        B Offline
        B Offline
        BLaZiNiX
        wrote on last edited by
        #3

        Thanks for the tips :) BTW what's mean UTF-7 UTF-8 ?? is it something like UNICODE TEXT FORMATTER ? thanks again

        N 1 Reply Last reply
        0
        • B BLaZiNiX

          Thanks for the tips :) BTW what's mean UTF-7 UTF-8 ?? is it something like UNICODE TEXT FORMATTER ? thanks again

          N Offline
          N Offline
          Neil Van Note
          wrote on last edited by
          #4

          Yes. If you do a search in MSDN you will get an abundance of information. Regards

          B 1 Reply Last reply
          0
          • N Neil Van Note

            Yes. If you do a search in MSDN you will get an abundance of information. Regards

            B Offline
            B Offline
            BLaZiNiX
            wrote on last edited by
            #5

            I search MSDN and the error I got in my program what reliated to UTF-16 so UnicodeEncoding but it's not working anyway. I don't know why I got this error because If i test it on multiple files like TXT Files I don't have any trouble but when i'm talking about EXE and Archive i got error. That Strange !! anyway if anybody have the answer or if you want me to send you my sample, just beep me jonathan.pouliot@tecksys.com ICQ : 71682311 Thanks

            N 1 Reply Last reply
            0
            • B BLaZiNiX

              I search MSDN and the error I got in my program what reliated to UTF-16 so UnicodeEncoding but it's not working anyway. I don't know why I got this error because If i test it on multiple files like TXT Files I don't have any trouble but when i'm talking about EXE and Archive i got error. That Strange !! anyway if anybody have the answer or if you want me to send you my sample, just beep me jonathan.pouliot@tecksys.com ICQ : 71682311 Thanks

              N Offline
              N Offline
              Neil Van Note
              wrote on last edited by
              #6

              Sure, send a sample, and I will get it to work. The statement in your original post, "I created a multiple file tools" didn't give me a lot of insight on what you are trying to achieve, sorry. Email: vannote@netaxs.com Regards

              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