First time baker - first Design

albatros

Quote

Hope this explains a little bit

Matthias

Yes, it does!  :-D
Thank you very much for your detailed explanations and the fast answer!

Regards

Uwe
أنا لست إرهابيا. ليس لدى أي ورشة عمل القنبلة في الطابق السفلي. ليس لدى أي مرض الجمرة الخبيثة أيضا. أريد شراء لا مادة الريسين. أنا سوف ابدأ السفر إلى الولايات المتحدة الأمريكية

ruebenwurzel

Hello,

the source code of your page gives the following;

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

if you have in the index.php of your template the following line:

<meta http-equiv="Content-Type" content="text/html; charset=<?php if(defined('DEFAULT_CHARSET')) { echo DEFAULT_CHARSET; } else { echo 'utf-8'; }?>" />

the template uses the charset wich you have defined in the options - show advanced settings of WB.

About special chars and charset settings maybe this is also interesting for you:

http://forum.WebsiteBaker.org/index.php/topic,5374.0.html

and last but not least depending on the WYSIWYG Editor your special chars from the textareas are different stored (some in UTF8, some as Entities) in your database.

So why a told you this?
Optimum of a website would be if it is all in UTF8 or all not in UTF8 (for western europe special chars ISO-8859-1 should be the standard) but at the moment we have it all mixed up. And this could cause problems with validiation, the search or the frontend or backend display. So this is not a problem you made yourself but knowing abaout the possible issues with charsets the website developpers could try to get their pages as best as possible to UTF8 or in your case ISO-8859-1.

How to get this:
1. Look at the advanced settings and set charset to ISO-8859-1
2. Look at your template if this uses also this charset.
3. Use FCKEditor (or TinyMce) as WYSIWYG Editor.
4. Use the fixed convert.php from the link above
After this four steps the most of your page (except news entries, guestbook entries and a few other modules) uses ISO-8859-1 and HTMLentities.

Hope this explains a little bit

Matthias

albatros

Quote
As you are using UTF8 as charset but in some textareas HTML-Entities you have mixed special chars in your database.

Hello Matthias,

i think, i did not really understand this. So i used the html-validator and got this:
QuoteThe character encoding specified in the HTTP header (iso-8859-1) is different from the value in the <meta> element (utf-8). I will use the value from the HTTP header (iso-8859-1) for this validation.

So, is this my fault (in the template)? I didn`t find (iso-8859-1) in the header of the page code. So, where did Validator get it? And what do you think abut a utf-8-definition there? Maybe, whith different definitions i would get trouble in the future (when there is a lot of content on the website)!? Did i make the problem myself by these changes for googlemap in the template: http://forum.WebsiteBaker.org/index.php/topic,4186.msg32470.html#msg32470

:?

Thank´s a lot!
أنا لست إرهابيا. ليس لدى أي ورشة عمل القنبلة في الطابق السفلي. ليس لدى أي مرض الجمرة الخبيثة أيضا. أريد شراء لا مادة الريسين. أنا سوف ابدأ السفر إلى الولايات المتحدة الأمريكية

albatros

Hi Matthias,

FCK is indeed the editor which i installed for Uli´s site. An i know about the problems, because i am here nearly every day and learned a lot. About WB, but not only about WB.

Regards

Uwe
أنا لست إرهابيا. ليس لدى أي ورشة عمل القنبلة في الطابق السفلي. ليس لدى أي مرض الجمرة الخبيثة أيضا. أريد شراء لا مادة الريسين. أنا سوف ابدأ السفر إلى الولايات المتحدة الأمريكية

ruebenwurzel

Hello,

QuoteCould this also be a problem of copy and paste? Uli sometimes used this function without putting text in notepad in between.

No, no problem of copy and paste, because if you use f.e. FCKEditor it converts the special chars as soon as you save the page. The different Editors works totally different. TinyMCE converts all, FCKEditor a part, XINHA also a part but other then FCKEditor. We are working on a better solution.

Matthias

albatros

#5
Hello Matthias and hello Klaus,

thanks for your friendly replies.

And Matthias, thank you again for your help and for the link. I already read this before, but i didn´t use the patch. I wanted two wait for the next release. But now i will give it a try.

Quote
As you are using UTF8 as charset but in some textareas HTML-Entities you have mixed special chars in your database.

Could this also be a problem of copy and paste? Uli sometimes used this function without putting text in notepad in between.

Best regards from Willingen

Uwe
أنا لست إرهابيا. ليس لدى أي ورشة عمل القنبلة في الطابق السفلي. ليس لدى أي مرض الجمرة الخبيثة أيضا. أريد شراء لا مادة الريسين. أنا سوف ابدأ السفر إلى الولايات المتحدة الأمريكية

ruebenwurzel

Hello,

looked a little bit at your page and tested the search funktion. As you are using UTF8 as charset but in some textareas HTML-Entities you have mixed special chars in your database. This works on the frontend view but using the search function gives you wrong results. On SVN and the german subforum we have a patch for this wich gives results independent from the charset. Read here:

http://forum.WebsiteBaker.org/index.php/topic,5595.msg35616.html#msg35616

This fix also adds a search highlighting function wich gives you a search highlighting if you add the following class to your screen.css

.highlight {
background-color: grey;
}


Matthias

kweitzel

It realy is nice and captures the topic yachting. Ach ... and thanks for the credits ;-)

cheers

Klaus

ruebenwurzel


albatros

#1
Hello everybody,

a friend cares for honorary the website of a yacht club in northern Germany. He did it with Netobjects Fusion, but now he uses WB.  :-D
I installed the CMS for him including the modules and i also made a design for him, which is based on Landzilla, but it contains many changes. The Website still is in the development. My friend needs some help sometimes, but i think he likes WB and my design too.

And how do you like the Design?

http://www.byc-online.net/

I got a lot of help in this forum, especially by ruebenwurzel and kweitzel  an I like to say "Thank you!!!"
I love WB!

Best regards!

Uwe
أنا لست إرهابيا. ليس لدى أي ورشة عمل القنبلة في الطابق السفلي. ليس لدى أي مرض الجمرة الخبيثة أيضا. أريد شراء لا مادة الريسين. أنا سوف ابدأ السفر إلى الولايات المتحدة الأمريكية