Author |
Topic |
|
Martin1
Super User
Netherlands
626 Posts |
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
|
|
s.dav
Site Admin
Italy
3364 Posts |
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. |
Regards, Davide |
|
|
Martin1
Super User
Netherlands
626 Posts |
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
Site Admin
Italy
3364 Posts |
|
2hats
Practical
36 Posts |
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
Site Admin
Italy
3364 Posts |
Posted - 02 Apr 2010 : 16:46:00
|
I haven't understood the problem; can you explain me the problem better? |
Regards, Davide |
|
|
2hats
Practical
36 Posts |
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
Site Admin
Italy
3364 Posts |
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 |
Regards, Davide |
|
|
2hats
Practical
36 Posts |
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. |
|
|
2hats
Practical
36 Posts |
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. |
|
|
s.dav
Site Admin
Italy
3364 Posts |
Posted - 09 Apr 2010 : 09:40:52
|
Uncheck the option "use UTF8 chars" in the options and you're done. |
Regards, Davide |
|
|
|
Topic |
|