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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. IO stream and arabic

IO stream and arabic

Scheduled Pinned Locked Moved Visual Basic
csharphelp
5 Posts 3 Posters 1 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.
  • I Offline
    I Offline
    illusionFinder
    wrote on last edited by
    #1

    hi there, I am creating a text file in VB.Net and I am writing arabic characters inside, but my problem is that when I read this text file using vb6 on other machine I read wrong characters , does anybody know why thanks alot

    A G 2 Replies Last reply
    0
    • I illusionFinder

      hi there, I am creating a text file in VB.Net and I am writing arabic characters inside, but my problem is that when I read this text file using vb6 on other machine I read wrong characters , does anybody know why thanks alot

      A Offline
      A Offline
      albCode
      wrote on last edited by
      #2

      they machines doen't have ur arabic font. _____________________ Proud to be Albanian _____________________

      1 Reply Last reply
      0
      • I illusionFinder

        hi there, I am creating a text file in VB.Net and I am writing arabic characters inside, but my problem is that when I read this text file using vb6 on other machine I read wrong characters , does anybody know why thanks alot

        G Offline
        G Offline
        Guffa
        wrote on last edited by
        #3

        You have to write the file using the same encoding as the VB6 program will use to read it. Probably UTF8. --- b { font-weight: normal; }

        I 1 Reply Last reply
        0
        • G Guffa

          You have to write the file using the same encoding as the VB6 program will use to read it. Probably UTF8. --- b { font-weight: normal; }

          I Offline
          I Offline
          illusionFinder
          wrote on last edited by
          #4

          hi thanks for the rply but I am using writexml function and it doesn't have encoding options, so what shall I do thanks

          G 1 Reply Last reply
          0
          • I illusionFinder

            hi thanks for the rply but I am using writexml function and it doesn't have encoding options, so what shall I do thanks

            G Offline
            G Offline
            Guffa
            wrote on last edited by
            #5

            Yes, write methods doesn't have any encoding options. You decide the encoding when you open the file. --- b { font-weight: normal; }

            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