General Community > WebsiteBaker Website Showcase
First time baker - first Design
ruebenwurzel:
Hello,
--- Quote ---Could this also be a problem of copy and paste? Uli sometimes used this function without putting text in notepad in between.
--- End quote ---
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:
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
albatros:
--- Quote --- As you are using UTF8 as charset but in some textareas HTML-Entities you have mixed special chars in your database.
--- End quote ---
Hello Matthias,
i think, i did not really understand this. So i used the html-validator and got this:
--- Quote ---The 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.
--- End quote ---
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!
ruebenwurzel:
Hello,
the source code of your page gives the following;
--- Code: ---<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
--- End code ---
if you have in the index.php of your template the following line:
--- Code: ---<meta http-equiv="Content-Type" content="text/html; charset=<?php if(defined('DEFAULT_CHARSET')) { echo DEFAULT_CHARSET; } else { echo 'utf-8'; }?>" />
--- End code ---
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 ---
Hope this explains a little bit
Matthias
--- End quote ---
Yes, it does! :-D
Thank you very much for your detailed explanations and the fast answer!
Regards
Uwe
Navigation
[0] Message Index
[*] Previous page
Go to full version