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

  • Home
  • SEARCH
  • 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 6655705
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:33:10+00:00 2026-05-26T01:33:10+00:00

I apologize for the long post, but this problem is not easily stated. I

  • 0

I apologize for the long post, but this problem is not easily stated.

I recently wrote a piece of Java to reconfigure some SSIS packages for a colleague, using jdom to parse and manipulate the XML. The program worked, but the resulting files crashed. We were able to trace the crash to an odd mostly-nonprinting character in the original files, which was not reproduced in the files written by jdom.

What’s strange about this character is that it doesn’t show up in all editors. The Oxygen XML editor, for example, doesn’t even see it. However, in notepad, the original copyright notice appears like this:

<DTS:Property DTS:Name="TaskContact">Execute SQL Task; Microsoft Corporation; Microsoft 
SQL Server v9; © 2004 Microsoft Corporation; All Rights     
Reserved;http://www.microsoft.com/sql/support/default.asp;1</DTS:Property>

and the transformed version of the same element:

<DTS:Property DTS:Name="TaskContact">Execute SQL Task; Microsoft Corporation; Microsoft 
SQL Server v9; © 2004 Microsoft Corporation; All Rights 
Reserved;http://www.microsoft.com/sql/support/default.asp;1</DTS:Property>

(the problem character is the  just before the copyright symbol)

Running a global replace on the packages in question, where  -> “” and © -> “(c)”, made the problem go away, but now it turns out that the problem comes back when unmodified elements are put into the modified packages, so now I’m not as sure what is at the root of the problem.

Again, I’m sorry for the long post, but I didn’t want to leave out any details. Any insights or suggestions would be greatly appreciated; I’m pretty well stumped.

My colleague will be sending me error messages from his attempts to load these, I can post those if they’re useful.

  • 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-26T01:33:11+00:00Added an answer on May 26, 2026 at 1:33 am

    As to the root of the problem: writing in one encoding and reading another. See my answer to this question. £ becomes £ Why? XML ISO encoding issue?
    Just replace the pound sign, £, with the copyright symbol, © (unicode U+00A9). Hopefully you can find the place where the encoding mixup is occurring.

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

Sidebar

Related Questions

Apologies for the rather verbose and long-winded post, but this problem's been perplexing me
Apologies for the long post, but I wonder if I could get some more
Apologize if this is too long of a post. I'm merely trying to get
Apologies for the long post -- Read a few threads about this, but still
I apologize in advance for the long post... I used to be able to
I apologize in advance; this is a long question. I've tried to simplify as
This question is going to be rather long, so I apologize preemptively. In Python
Apologies for the long post and I hope it makes some sense to someone
Please bear with me, my apologies if this post is too long... I'm attempting
I apologize is this is a duplicate and I just could not phrase the

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.