Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 826431
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T03:24:52+00:00 2026-05-15T03:24:52+00:00

I have an ASP Access database that contains strings in various European languages. The

  • 0

I have an ASP Access database that contains strings in various European languages. The database was populated prior by agents in the respective countries. It contains entries with accented etc characters as you would expect. If I open the database with MS Access these characters show up fine. For example the the German equivalent of “Open” shows as “Öffnen” (hopefully you can see an “O” with 2 dots above it!).

I have ASP code that reads the database and returns records in XML. The text is passed to XMLEncode to construct the XML, but that only seems to deal with the 5 specials like “<“, “&”, etc. If I dump the XML the accented characters are unchanged.

<English>Open</English>
<German>Öffnen</German> 

If I look at the raw packets with Wireshark I see that the “Ö” byte is hex D6, which appears to be it’s decimal Unicode and ISO 8859-1 value.

The problem starts when I try to parse the XML in client-side JS. I get:

"An invalid character was found in text content"

from IE. FF and Chrome happily accept the XML without hiccup but the browser shows the “Ö” character as a diamond with a question mark inside.

http://www.validome.org/xml/validate/ reports “encoding error.”

http://www.w3schools.com/dom/dom_validate.asp thinks it is fine.

The XML is UTF-8 encoded.

What do I need to do to have IE accept my XML without complaint?

What do I need to do to have browsers display the stuff correctly?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T03:24:52+00:00Added an answer on May 15, 2026 at 3:24 am

    How do you know the XML is UTF-8 encoded? I don’t know the MS environment well, but in Java a common problem is to assume that just writing the encoding="UTF-8" header causes it to be UTF-8 encoded. You also have to configure the writer to actually write UTF-8.

    You said Wireshark shows hex D6, which would indicate the stream is actually NOT UTF-8 encoded, regardless of what the header says.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have asp.net form that contains fields. When I access this window, my javascript
I have a ASP.Net page using ADO to query MS access database and as
I have a few ASP.Net database front-end websites where MS Access is the back-end.
I have a database table TravelRequest that contains, amongst other things, the fields SignOffName
In my ASP.NET MVC application, I have a project that contains all the business
I have an Asp.net Mvc site where I want to give a separate access
I have a website built using Asp.net and LinqToSql for Data Access. In a
If you create an ASP.NET web file project you have direct access to the
I have a process in a website (Asp.net 3.5 using Linq-to-Sql for data access)
I'm designing a Data Access layer for an C#/ASP.net application and I have a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.