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. How to encode an existing txt file?

How to encode an existing txt file?

Scheduled Pinned Locked Moved C#
helptutorialquestion
4 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.
  • P Offline
    P Offline
    pcaeiro
    wrote on last edited by
    #1

    Hi to all, I have a program that recieve a txt file and work the text in it. The problem its that wend i take the text from the file to a string hi have unrecognized characteres in the positions where i should have accent letters like á or ö for instance. So i tink that the better way is to encode the txt file in utf8. Is there any way to do it in the code lines? Paulo Caeiro

    P 1 Reply Last reply
    0
    • P pcaeiro

      Hi to all, I have a program that recieve a txt file and work the text in it. The problem its that wend i take the text from the file to a string hi have unrecognized characteres in the positions where i should have accent letters like á or ö for instance. So i tink that the better way is to encode the txt file in utf8. Is there any way to do it in the code lines? Paulo Caeiro

      P Offline
      P Offline
      Paul Conrad
      wrote on last edited by
      #2

      Have you solved this?

      "The clue train passed his station without stopping." - John Simmons / outlaw programmer

      P 1 Reply Last reply
      0
      • P Paul Conrad

        Have you solved this?

        "The clue train passed his station without stopping." - John Simmons / outlaw programmer

        P Offline
        P Offline
        pcaeiro
        wrote on last edited by
        #3

        Yes, i already have solved that question... Do you need anything? PC

        P 1 Reply Last reply
        0
        • P pcaeiro

          Yes, i already have solved that question... Do you need anything? PC

          P Offline
          P Offline
          Paul Conrad
          wrote on last edited by
          #4

          pcaeiro wrote:

          Do you need anything?

          No. I was just curious if you still needed help with your problem. Glad you solved it :)

          "Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus

          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