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 6337377
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T19:14:34+00:00 2026-05-24T19:14:34+00:00

There is an invisible character breaking my XML parser. c& The XML claims to

  • 0

There is an invisible character breaking my XML parser.

c&

The XML claims to be UTF-8, but when I try to use <c:import . . . charEncoding="UTF-8">

I get this friendly message:

ERROR: javax.servlet.jsp.JspException: java.io.CharConversionException: illegal utf8 encoding at (187)

I have been able to locate the source of the problem. It is an invisible character located between ‘c’ and ‘&’.

I would like to know more about this character, but it seems IntelliJ cannot show me hidden characters . . .

I think I saw a tool online that would convert Unicode characters to their octal values, but I can not find it again. If there is a tool I need to download that would be fine.

Any suggestions?


OK a friend told me about od so I gave that a try:

$ echo -n "c&" | od -c
0000000    c 357 273 277 357 273 277   &                                
0000010

So it seems the problem is cause by the byte sequence 357 273 277

Do we know what that sequence is?

  • 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-24T19:14:35+00:00Added an answer on May 24, 2026 at 7:14 pm

    In the table below, the dots represent the breaks between octal digits, and the dashes represent the breaks between hex digits.

    Octal:      3    5   7   |  2    7   3  |  2    7   7
    Binary:    11.10-1.111   | 10.11-1.011  | 10.11-1.111
    Hex:         E     F     |   B     B    |   B     F
    

    This has the correct form for valid UTF-8. The first nybble shows two continuation bytes, and the next two bytes are indeed continuation bytes. The second nybble of the first byte, and the last 6 bits of each of the next two bytes form the data for the Unicode character.

    Unicode Binary:  1111 1110 11.11 1111
    Unicode Hex:      F     E    F    F
    

    Therefore, the character is U+FEFF, which is the BOM (byte-order mark) or ZWNBSP (zero-width non-breaking space). It is aconventional to encode the BOM in UTF-8 (it isn’t needed); it is doubly aconventional to encode two of them in a row; and it is triply aconventional for the BOM not to be the first character in the UTF-8 code stream.

    See the Unicode FAQ on BOM for more information.

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

Sidebar

Related Questions

There are a few ways to get class-like behavior in javascript, the most common
There is a conversion process that is needed when migrating Visual Studio 2005 web
There are two weird operators in C#: the true operator the false operator If
There are two popular closure styles in javascript. The first I call anonymous constructor
There is previous little on the google on this subject other than people asking
There seem to be many ways to define singletons in Python. Is there a
There are numerous Agile software development methods. Which ones have you used in practice
There are several types of objects in a system, and each has it's own
There is a field in my company's Contacts table. In that table, there is
There are numerous libraries providing Linq capabilities to C# code interacting with a MySql

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.