WeBuilder Adding Characters to tops of files

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
ebarstad
Posts: 19
Joined: Sun Mar 05, 2006 9:19 pm

WeBuilder Adding Characters to tops of files

Post by ebarstad »

I'm using WeBuilder 7.3.0.69, and I've noticed that it has started putting characters at the tops of my files. So, for example, if I create a new file with nothing in it, save it, close it, and open it in another editor, I see the following:

Image

The characters don't show up in WeBuilder, however.

Any ideas?
Eric Barstad
Shadow Box: Websites for Non-Profits
HTML Editor Reviews: Reviews and Discussion of (X)HTML Coding Tools
ebarstad
Posts: 19
Joined: Sun Mar 05, 2006 9:19 pm

Post by ebarstad »

Just a note: I changed the default encoding to ANSI (from UTF-8), and the problem seems to have gone away. We'll see.
Eric Barstad
Shadow Box: Websites for Non-Profits
HTML Editor Reviews: Reviews and Discussion of (X)HTML Coding Tools
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Post by Karlis »

This looks like an UTF-8 header. I just do not know what is it doing there, because you should never see it if the file is saved as proper UTF-8 file. If you use Unicode, please try selecting UTF-8 as the encoding for your files upon save, otherwise - if you do not use foreign characters, you may simply save your files as ANSI.
Karlis Blumentals
Blumentals Software
www.blumentals.net
mwb1100
Posts: 72
Joined: Thu Jun 02, 2005 8:00 am

Post by mwb1100 »

It's a 'Byte Order Mark' or BOM to indicate the type of Unicode encoding in a file.

You are seeing those bytes when you open the file in a non-Unicode aware application.

[url]http://unicode.org/unicode/faq/utf_bom.html#BOM][/url]
cnburbridge
Posts: 1
Joined: Sun Feb 25, 2007 9:05 pm

Post by cnburbridge »

I create a file in HTMLPad, and save it as UTF-8, as a template. I then create a new file based on that template, and it shows up these characters. I think this means that the New From Template command always opens the template file with these characters. I do not see a way around this, except to delete them. When I save it afterwords, it seems to be fine.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Post by Karlis »

I will check this, probably the template saving mechanism has a bug in it. Temporary solution for you would be to save your template as ANSI.
Karlis Blumentals
Blumentals Software
www.blumentals.net
zippity
Posts: 6
Joined: Mon May 05, 2008 1:03 am

webuilder 8.3.1.81 inserting characters at top of page

Post by zippity »

I couldn't find any other threads about this problem.

Recently, when uploading html and php files I noticed that these characters were inserted at the top of pages and of divs..

Image

In some cases.. as with xml, this prevents the page from working as it should.

I now notice, as in the image above, that this is showing up in the Preview in Webuilder. It seems the program is rendering pages incorrectly.. and I've tried various DOC TYPE settings and makes no difference..

I'm not sure where to change the settings you mention in this thread.. could someone point this out please?

Thank you!
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Post by syrupcore »

Zippity, when you do a "save as" you'll see the options at the bottom of the save dialog box.
zippity
Posts: 6
Joined: Mon May 05, 2008 1:03 am

Post by zippity »

:oops:


Thank you syrupcore.. I am a dunce!



(does this mean that my version of Webuilder is a 'non-Unicode aware application' in preview mode? )
Cary
Posts: 82
Joined: Mon May 28, 2007 10:41 pm

Post by Cary »

You can also go the Preferences >> Files >> General and set the default encoding to either ANSI or UTF-8 without BOM.

zippity wrote:does this mean that my version of Webuilder is a 'non-Unicode aware application' in preview mode?
No, there are other reasons this can happen.
Post Reply