N
Nightcrawler
I have a website that does the following:
1. it accepts a keyword through a textbox in the UI
2. once the submit button is clicked it goes out and spiders a few
websites using the keyword supplied
3. it converts the returned html to xml
4. it uses LINQ to query the html page and stores the results in a
database table
5. it then pulls the results from the database using a LINQ query ad
displays them on a webpage
The problem I am facing is that I am not able to display international
charachters (charachters not in the english alphabet) in step 5
When I spider the pages in step 2 I use Encoding.UTF7. Using UTF7
successfully allows me to capture international charachters. When I
commit the data to the database in step 4 I can see that the data is
stored and displayed correctly when I view the table in Enterprise
Manager.
When I query the database for the results in step 5 and try to diplay
them on a aspx page, they show up as ù
What am I doing wrong?
1. it accepts a keyword through a textbox in the UI
2. once the submit button is clicked it goes out and spiders a few
websites using the keyword supplied
3. it converts the returned html to xml
4. it uses LINQ to query the html page and stores the results in a
database table
5. it then pulls the results from the database using a LINQ query ad
displays them on a webpage
The problem I am facing is that I am not able to display international
charachters (charachters not in the english alphabet) in step 5
When I spider the pages in step 2 I use Encoding.UTF7. Using UTF7
successfully allows me to capture international charachters. When I
commit the data to the database in step 4 I can see that the data is
stored and displayed correctly when I view the table in Enterprise
Manager.
When I query the database for the results in step 5 and try to diplay
them on a aspx page, they show up as ù
What am I doing wrong?