Strange character in "view source" output (IE7)

vjk70

No avatar

2008-06-21 10:56

Hello!

I have Quick.Cart set to swedish. Now I have got this square character in the first line of the output when I view source in IE7. This breaks the design and I can´t get rid of it. In Firefox it works ok.

Maybe it has something to do with the encoding, but I don´t know what. Tried to change between uf-8 and iso-8859-1.

Windows XP with Apache.

Screendump here: http://www.vkonline.net/Image1.gif

» Quick.Cart v3.x

Makaron

Avatar: Makaron

2008-06-21 15:02

Look in file templates/container.tpl for a line break in the beginning of the file. Should look like this:

<!-- BEGIN HEAD -->
<?xml version="1.0" encoding="$config[charset]"?>

vjk70

No avatar

2008-06-21 20:33

Yes, I already checked that before posting. There´s nothing in the template files to remove, the lines are in the very beginning as they should be. I changed to english and everything was normal.

treewood (OpenSolution)

Avatar: treewood

2008-06-23 17:19

vjk70 - you propably edit files with editor that is not supporting UTF8. Please try for example EDITPLUS

vjk70

No avatar

2008-06-23 18:37

Well, I usually use notepad. I don´t know what the problem was, but I made a new installation of the site and copied over my modifications. It seems to work now.

Back to top
about us | contact