Results 1 to 4 of 4

Thread: Please help with encoding!

Hybrid View

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2008
    Posts
    53

    Question Please help with encoding!

    I downloaded a web page from a site that use UTF-8, I use REGEX to modify some text from the page and then I see that the text is not appearing like it should: http://alexvorn.googlepages.com/text.PNG
    What should I do to solve the problem

  2. #2
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Location
    Jefferson City, MO
    Posts
    9,897

    Re: Please help with encoding!

    i looked at the code you posted and did not see a problem.
    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

  3. #3

    Thread Starter
    Member
    Join Date
    Sep 2008
    Posts
    53

    Re: Please help with encoding!

    The problem is in the "?" character, I downloaded the page from Google News than I used regex codes to remove some text and saved it all in a file. I don't want that the "?" character to replace these: ' or " . The text should be like this : http://alexvorn.googlepages.com/text2.PNG

  4. #4
    Frenzied Member
    Join Date
    Mar 2005
    Location
    Sector 001
    Posts
    1,577

    Re: Please help with encoding!

    Use utf 8 encoding when you are getting the string.
    VB 2005, Win Xp Pro sp2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width