a bug in your editor had me spend 2 days thinking i had an error in my css from a wordpress blog(and i dont give a flying f**k about wp). 2 columns where unaligned , why ? because your editor, very oftenly, when you save as UTF-8 adds an invisible space at the begining of the file.I had the same problem with php headers and sessions.
cheers
invisble space on UTF-8, WB 9.2.
Moderator: kfury77
Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
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;
invisble space on UTF-8, WB 9.2.
webuilder 2010 version 10.02 (10.0.2.118) is the best !!
Re: invisble space on UTF-8, WB 9.2.
Hi,
Not sure this is the cause for you, but have you tried to save in UTF-8 without BOM?
More on this you can read here:
http://en.wikipedia.org/wiki/Byte_order_mark
Not sure this is the cause for you, but have you tried to save in UTF-8 without BOM?
More on this you can read here:
http://en.wikipedia.org/wiki/Byte_order_mark
Kind regards,
Gatis Avots
Gatis Avots
- Karlis
- Site Admin
- Posts: 3605
- Joined: Mon Jul 15, 2002 5:24 pm
- Location: Riga, Latvia, Europe
- Contact:
Re: invisble space on UTF-8, WB 9.2.
Nothing extra is added. Probably wp can not handle UTF-8 files with byte order mask. Choose UTF-8 without BOM in this case.
Re: invisble space on UTF-8, WB 9.2.
i would say "weird" , because : when coding with sessions or php headers i had the same problem, i had to change my file to ANSI. Btw this is a known issue among several editors.
webuilder 2010 version 10.02 (10.0.2.118) is the best !!
- Karlis
- Site Admin
- Posts: 3605
- Joined: Mon Jul 15, 2002 5:24 pm
- Location: Riga, Latvia, Europe
- Contact:
Re: invisble space on UTF-8, WB 9.2.
Yes, exactly, PHP session will not work if there is output before session code and due to lack of proper UTF-8 support in PHP, it can not process UTF header properly thus outputs it as text.
The fact is that PHP can not handle UTF-8 files with byte order mask. So you must either save without BOM or as ANSI.
The fact is that PHP can not handle UTF-8 files with byte order mask. So you must either save without BOM or as ANSI.
Re: invisble space on UTF-8, WB 9.2.
thank you , this is clarifying.
webuilder 2010 version 10.02 (10.0.2.118) is the best !!