SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict itHighway's Avatar
    Join Date
    Jan 2008
    Location
    GUJ
    Posts
    270
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Danish Characters Issue

    I have a website in Danish.

    The problem is some characters are not displaying correctly. Some of the data on my site is hard coded while some data comes from ms access database.

    If content type is Utf-8 then hard coded content look okay but data that comes from db starts to show some square boxes in place of some Danish characters.

    While if content type is iso-8859-1 db content looks okay but hard coded content show boxes.

    I am using Classic ASP with MS Access database.

    Please advice.

  2. #2
    SitePoint Wizard
    Join Date
    Dec 2003
    Location
    USA
    Posts
    2,582
    Mentioned
    29 Post(s)
    Tagged
    0 Thread(s)
    Try setting the charset of the HTML to match the database, or change the database to be UTF-8.

  3. #3
    SitePoint Addict itHighway's Avatar
    Join Date
    Jan 2008
    Location
    GUJ
    Posts
    270
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is it possible to change the charset of MS Access database?

  4. #4
    SitePoint Wizard
    Join Date
    Dec 2003
    Location
    USA
    Posts
    2,582
    Mentioned
    29 Post(s)
    Tagged
    0 Thread(s)
    Good question. It's been a LONG time since I used Access.

    Lol, I googled it and came across you asking the question. From other things I found on Google, it looks like Access uses UTF(-8?).

    Do you know if the iso-8859-1 charset has all of the Danish characters you need?

    Also, how are you outputting the database content? I've had problems in the past where it wasn't the database that was having issues, but the function I was using to output the code. Double-check your functions and make sure they don't specify a charset anywhere.


Bookmarks

Posting Permissions

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