PDA

View Full Version : Excess characters in documents.



kimr
12-09-2005, 04:44 AM
Hi.

I'm currently converting a rather big line of html documents to iSilo with iSiloX for windows. The conversion goes smoothly apart from one thing; at the top of each document there is an excess character. In the palm version of iSilo it shows up as "?" and in the pocket PC version it shows as a box, the kind used to represent non visual ascii characters.

I was assuming this was due to improper html, but it validates just fine.

If anyone has a clue as to what causes this, I would be thankful.

Kim R.

iSilo
12-09-2005, 06:57 AM
The issue would not be with the HTML, but with the character content. There is probably a character you are using that is not in the character set of the encoding you have specified in the document. Do you know what the source encoding of the document is? It would help you could also post a sample source HTML file that exhibits the behavior.

k_christ
03-25-2009, 02:21 PM
I'm having the same problem with my documents. I thought it had to do with <div> or <P> tags, but after some trails I found that they just add an Extra blank line at the start of the documents, not the extra character.
Here is some code for a simple test I did, I still get an ‘empty box’ on PPC or a ‘?’ on palm.
<html>
<head>
<title>Untitled 1</title>
</head>
<body>
hi
</body>
</html>

The Zip file has the .htm, ixl and pdb files.

k_christ
03-26-2009, 08:07 AM
I found a solution. As long as I have the Meta tag below in my HTML files they convert happily with no extra lines or weird extra characters.
What did it was changing the UTF-8 to us-ascii.

<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />