Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Can't find why a generated XML file is "Incorrectly formed UTF-8"
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ward Clark  
View profile  
 More options Oct 8 2012, 3:24 pm
From: Ward Clark <w...@wardclark.com>
Date: Mon, 8 Oct 2012 12:24:51 -0700 (PDT)
Local: Mon, Oct 8 2012 3:24 pm
Subject: Can't find why a generated XML file is "Incorrectly formed UTF-8"

I'm developing a FileMaker app that generates an XML file, and I've been
using TextWrangler 4.0.1 to inspect the generated file.

Something changed during the past several days, and TextWrangler is now
reporting an error when I open the generated file:

*Incorrectly formed UTF-8*

The UTF-8 file "filename.xml" is damaged for incorrectly formed; please
proceed with caution.

If dismiss the error, save the file under a new name, and open the cloned
file, there's no error.  Comparing the cloned file to the generated file
reports there's no difference.

TextWrangler's footer status bar shows the two files have the same size.
 But Get Info on the two files shows that the cloned file is two bytes
larger than the original generated file.

How can I determine why TextWrangler is unhappy with my generated XML file?

-- Ward


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas Fischer  
View profile  
 More options Oct 8 2012, 4:48 pm
From: Thomas Fischer <fischer...@aon.at>
Date: Mon, 8 Oct 2012 20:48:09 +0000
Local: Mon, Oct 8 2012 4:48 pm
Subject: Re: Can't find why a generated XML file is "Incorrectly formed UTF-8"

Hi Ward,

usually TextWrangler will mark errors in UTF-8 with a character of " ", you can actually search for it as \x{fffd}.
If you don't find anything there try to open your different files as ISO Latin 1 and compare them, there you should be able to see the difference.

Best
Thomas

Am 08.10.2012 um 19:24 schrieb Ward Clark:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ward Clark  
View profile  
 More options Oct 15 2012, 12:16 am
From: Ward Clark <w...@wardclark.com>
Date: Sun, 14 Oct 2012 21:16:16 -0700 (PDT)
Local: Mon, Oct 15 2012 12:16 am
Subject: Re: Can't find why a generated XML file is "Incorrectly formed UTF-8"

Thanks, Thomas, for the key to solving my UTF-8 problem:

On Monday, October 8, 2012 4:48:12 PM UTC-4, Thomas wrote:

> usually TextWrangler will mark errors in UTF-8 with a character of " ",
> you can actually search for it as \x{fffd}.

Search didn't locate the single accented French character in my 6120-line
XML file.  But eventually I isolated it by reducing the input data
processed by my FileMaker app (a classic binary search).

-- Ward


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »