Jazzcafe problem

Skinning and designing Serendipity (CSS, HTML, Smarty)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

I do that with "UltraEdit". This can be instructed to not interpret any UTF-BOM. Also Linux "joe" can easily deal with those characters.

Best 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/
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post by carl_galloway »

thank you, I guess the makers of UltraEdit are about to get a new customer :D
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

It's IMHO the best Windows editor. I also gladly paid for it. :-)

Best 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/
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

I examined the index.tpl in the link you provided earlier. I used Vim on Windows and Linux, showing nothing. I also used hd and od, which are HEX DUMPS and should show every byte of the file. There were no extra bytes. Vim was using latin1 encoding.

Did you already fix the text in that zip file?
Judebert
---
Website | Wishlist | PayPal
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post by carl_galloway »

Jude, I haven't changed the zipfile, and I've looked at all my files in ultraedit, funny thing is that I can't find the problem either yet when IE displays the theme the extra character appears. Viewing the IE source in ultraedit clearly shows the extra character.

Ah, hang on a moment, I've just tested the andreas00 theme on an older version of the 1.1 alpha 4, and the problem isn't there. Perhaps the latest nightlies are where the problem lies, I am testing my themes on s9y_200604151537 in anticipation of a stable release. If this is the problem then I apologise, and only hope this narrows it down.
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post by carl_galloway »

rewriting the config.inc.php solved the problem, funnily enough it also ends up being 60bytes smaller even though the content is identical - BTW, tried everything, even created a linux install with joe and other text editors and still couldn't see the extra characters. C'est la vie.
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Post by yellowled »

carl_galloway wrote:BTW, tried everything, even created a linux install with joe and other text editors and still couldn't see the extra characters. C'est la vie.
I suppose joe needs a special setup or command to actually show these characters. I'm ready to dive into it's documentation to find out, but I wouldn't mind if Garvin would drop us a hint ... :wink:
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

I can only tell I used the debian default joe to edit the jazzcafe files in the CVS additional_themes repository this weekend. Inside thos files, the UTF-8 BOM was contained. I don't know if you are talking about different files?

Best 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/
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Post by yellowled »

garvinhicking wrote:I can only tell I used the debian default joe to edit the jazzcafe files in the CVS additional_themes repository this weekend. Inside thos files, the UTF-8 BOM was contained. I don't know if you are talking about different files?
Apparently I am.

I somehow got confused with jazzcafe and Carl's andreas00 theme. I downloaded the zipfile Carl provided in http://www.carlgalloway.com/archives/12 ... ipity.html , edited it to do a new theme for my blog and experienced the same effect as Carl - although I didn't know Carl experienced it when I e-mailed him about whether he had an idea how to fix the effect that the two sidebars were starting at a different height. In his reply, Carl pointed me to this thread, and I guess we both assumed that it would be the same problem, especially since Carl mentioned andreas00 in this thread.

To cut it short: in that zipfile I downloaded, the .tpl-files do not contain the utf-8 BOM. The problem with my edited version of Carls andreas00 turned out to be a CSS problem. :roll:

Well, that probably explains why I couldn't reproduce it with joe or pico. Sorry about that :)
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

So nice to meet another Debian user. Are you waiting for the X.org nVidia drivers, too?
Judebert
---
Website | Wishlist | PayPal
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi Judebert!

Actually my debian machine is just my development thing; I don't run X there. It's just a tiny Epia 500 board, which performs like a P3-600. :-/

Best 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/
Post Reply