Jazzcafe problem
Jazzcafe problem
Hi. I'm currently using the jazzcafe theme, which I really like and have only had to do very slight modifications to. Kudos on the theme.
I'm having a weird problem, though (it existed before I made any modifications). I have some funny characters showing up, and I can't see an easy way to get rid of them. Anyone else see this?
My site is here: http://www.whiteboard.net.
You can see the characters at the top of the page under the header and above the sidebar.
Any help would be greatly appreciated.
I'm having a weird problem, though (it existed before I made any modifications). I have some funny characters showing up, and I can't see an easy way to get rid of them. Anyone else see this?
My site is here: http://www.whiteboard.net.
You can see the characters at the top of the page under the header and above the sidebar.
Any help would be greatly appreciated.
-
- Regular
- Posts: 1331
- Joined: Sun Dec 04, 2005 5:43 pm
- Location: Andalucia, Spain
- Contact:
I believe the problem is the language encoding of the template files. Apparently my andreas00 does the same thing. With JazzCafe, the original design was done in Russian language encoding (UTF-8 I believe), then the serendipity author worked in turkish (ANSI or Turkish UTF-8), and then finally it found its way into the English world.
What we need is for one of the encoding experts to tell us how to strip these extra characters out of the file.
What we need is for one of the encoding experts to tell us how to strip these extra characters out of the file.
Interesting. I don't see the same characters on other sites (including your themes test site, Carl). Is there a way to just remove them from the templates? I don't see it (or anything that might cause it) anywhere.
carl_galloway wrote:I believe the problem is the language encoding of the template files. Apparently my andreas00 does the same thing. With JazzCafe, the original design was done in Russian language encoding (UTF-8 I believe), then the serendipity author worked in turkish (ANSI or Turkish UTF-8), and then finally it found its way into the English world.
What we need is for one of the encoding experts to tell us how to strip these extra characters out of the file.
-
- Regular
- Posts: 1331
- Joined: Sun Dec 04, 2005 5:43 pm
- Location: Andalucia, Spain
- Contact:
are there any encoding experts in these forums, I have a problem with andreas00 where there seems to be an extra character appearing at the beginning of the left sidebar and which means that in IE the left column drops a few pixels. Is there anyway of viewing these sorts of characters in a text editor or some other program so they can be deleted. Sorry if I sound vague but I just don't know anything about encodings.
-
- Regular
- Posts: 1331
- Joined: Sun Dec 04, 2005 5:43 pm
- Location: Andalucia, Spain
- Contact:
Awesome, glad we were able to fix your problem.
Could I ask anyone who uses Linux to take a look at my andreas00 files in pico and let me know if a similar problem exists. I'm stuck using Windows and haven't yet found a text editor that shows me anything different, yet I know there has to be an extra character in one of the files. Thanks everyone.
Could I ask anyone who uses Linux to take a look at my andreas00 files in pico and let me know if a similar problem exists. I'm stuck using Windows and haven't yet found a text editor that shows me anything different, yet I know there has to be an extra character in one of the files. Thanks everyone.
I just tried. Doesn't work on my linux machine (Debian Sarge). Not in pico, not in emacs, not in vim, ... no obvious evidence of any character which wouldn't belong in there. Strange.carl_galloway wrote:Could I ask anyone who uses Linux to take a look at my andreas00 files in pico and let me know if a similar problem exists. I'm stuck using Windows and haven't yet found a text editor that shows me anything different, yet I know there has to be an extra character in one of the files. Thanks everyone.
@cg2112: Which language environment do you use on your linux machine?
-
- Regular
- Posts: 1331
- Joined: Sun Dec 04, 2005 5:43 pm
- Location: Andalucia, Spain
- Contact:
Jude, sorry, its here
However, yellowled has had a look at the files using linux text editors and tells me he couldn't find enything. In firefox/opera everything works as it should for me, but in IE I get
The three strange characters at the end are the problem I think. Yellowled also tells me he ran the files through a filter known as 'recode' and it couldn't complete index.tpl due to being erroneous.
Thanks, Carl
However, yellowled has had a look at the files using linux text editors and tells me he couldn't find enything. In firefox/opera everything works as it should for me, but in IE I get
Code: Select all
<div id="LeftSideBar">
Thanks, Carl
Erm, sorry ... I have to admit that I actually misinterpreted recode's output - it actually said my use of recode itself was erroneous, not the filecarl_galloway wrote:Yellowled also tells me he ran the files through a filter known as 'recode' and it couldn't complete index.tpl due to being erroneous.
However, the (HTML) source code looks just fine in Firefox and Opera under Linux too, but the sidebars look asymmetric in both browsers.
Anybody with a Linux system should really try to reproduce this - maybe there's something wrong on my machine which makes it impossible to reproduce the character in pico ... you never know.
-
- Regular
- Posts: 1331
- Joined: Sun Dec 04, 2005 5:43 pm
- Location: Andalucia, Spain
- Contact:
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Those first three characters are called "UTF-8 BOM" (Byte Order Message). They indicate a file is in UTF-8 format for usual files.
In web-environments they make trouble, and those characters need to be removed.
I just removed the characters (editors usually hide them) and committed updated versions to CVS.
Regards,
Garvin
In web-environments they make trouble, and those characters need to be removed.
I just removed the characters (editors usually hide them) and committed updated versions to CVS.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 1331
- Joined: Sun Dec 04, 2005 5:43 pm
- Location: Andalucia, Spain
- Contact: