Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 A coding issue with the new version.

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert Email Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
Martin1 Posted - 24 Dec 2008 : 12:51:44
I am currently using the new version and I found a coding issues.

On the first line in front of the doctype DHE has placed the following:
?

Why i have no idea but it shouldn't be there.

Regards,

Martin

10   L A T E S T    R E P L I E S    (Newest First)
s.dav Posted - 09 Apr 2010 : 09:40:52
Uncheck the option "use UTF8 chars" in the options and you're done.
2hats Posted - 09 Apr 2010 : 09:14:24
You will actually get the ?, or sometimes what appears to be just a blank space at the top of your code and before the <html> tag
if using .htm or .html extension, or before <?php or <% if using php or asp.
(this space will give errors in running php)

I have found this is always caused by different character sets being used on the page. These can happen when text has been cut and pasted
from another source (webpage, word, pdf etc) into a dhe label or similar text field.

They are not always easy to find (could be ' " - among others), but they will be the cause of the initial space.
2hats Posted - 06 Apr 2010 : 12:13:41
That's right. It is caused by a different character set, caused by text pasted into a label.

I don't want them as they appear before the <?php tag....resulting in errors!!

Once you know what causes it, you know what to look for to remove it.

I have solved my problem. Hopefully this will help someone else solve theirs.
s.dav Posted - 06 Apr 2010 : 10:30:32
The strange characters are completely normal;
if you use different "apostrophes" probably D.H.W.E. doesn't use the UTF8 encoding so you'll not see the BOM
2hats Posted - 03 Apr 2010 : 02:40:24
If you look very hard at the apostrophes they are different!!

I take out the left apostrophe, and the ? goes away.
s.dav Posted - 02 Apr 2010 : 16:46:00
I haven't understood the problem; can you explain me the problem better?
2hats Posted - 02 Apr 2010 : 11:53:54
I have had the same problem, and it took a while to solve.

My problem was caused by a strange quotation mark in some text that I
copied and pasted. ie a 'strange character' will cause it.
You?ve instead of You've......there is a difference!

Hope this helps someone.
s.dav Posted - 29 Dec 2008 : 08:52:35
The BOM (Byte-order mark) should be used in every text file that as a particular encoding (UTF8, UTF16, UTF32).
In UTF8 files it is not mandatory but suggested.

Go here for more info:

http://en.wikipedia.org/wiki/Byte-order_mark
http://www.unicode.org/faq/utf_bom.html#BOM
http://evanjones.ca/python-utf8.html
Martin1 Posted - 28 Dec 2008 : 20:04:25
I did use utf8 but why does DHE generate these characters before the doctype?

There is no reason for their use.

Martin
s.dav Posted - 28 Dec 2008 : 11:33:44
I think this is the UTF8 BOM file header.
Check if your file has the UTF8 encoding.
These chars were generated also in previous versions.

Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000