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:confused:
Printable View
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:confused:
i looked at the code you posted and did not see a problem.
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
Use utf 8 encoding when you are getting the string.