0

So, I'm storing Norweigan characters in an MSSQL table, using nvarchar.

One some pages when I pull these back out in ASP, they display fine...

5 tips som kan hjelpe deg med måltidsplanlegging

But on other pages it's displaying as...

5 tips som kan hjelpe deg med måltidsplanlegging

The recordset is made exactly the same way, the files are on the same server, and even on the same site. The only real difference is that where it displays correctly, the rest of the page is in English, but where the rest of the page is in Norweigan it displays with the odd characters.

In the database itself it's actually stored as mÃ¥ltidsplanlegging, but then on some pages displays correctly as måltidsplanlegging.

Can anyone shed some light on why this might be happening?

FLICKER
  • 6,439
  • 4
  • 45
  • 75

1 Answers1

0

try adding the following to the top of your page:

Response.CodePage = 65001    
Response.CharSet = "utf-8"
Josh Montgomery
  • 882
  • 5
  • 10