Page 1 of 1

[Solved] Special charachters acting strange

Posted: Fri Jun 27, 2008 10:37 am
by surogat
Well i have a problem with Croatian letters,
They exist in menus and headlines, but not
in a content area..
I don't have any clue

1.3 "cuba" version and thinymc 2.4.1


Thank you

Re: Special charachters acting strange

Posted: Fri Jun 27, 2008 12:12 pm
by Ziggywigged
Maybe try:

Code: Select all

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Instead of your current:

Code: Select all

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

Re: Special charachters acting strange

Posted: Fri Jun 27, 2008 2:13 pm
by surogat
I did it but it wont work,
funny thing is that in a site map it works..

and this error showed up;
string(129) "Smarty error: [in content:content_en line 3]: syntax error: invalid attribute name: 'Pai?' (Smarty_Compiler.class.php, line 1547)"

Tnx anyway

Re: Special charachters acting strange

Posted: Fri Jun 27, 2008 2:39 pm
by alby
Which version of MLE?
It's not a 1.3.X
surogat wrote: I did it but it wont work,
funny thing is that in a site map it works..
Your DB is full utf-8?

surogat wrote: and this error showed up;
string(129) "Smarty error: [in content:content_en line 3]: syntax error: invalid attribute name: 'Pai?' (Smarty_Compiler.class.php, line 1547)"
Have you tags in content?

Alby

Re: Special charachters acting strange

Posted: Fri Jun 27, 2008 5:41 pm
by viebig

Code: Select all

string(129) "Smarty error: [in content:content_en line 3]: syntax error: invalid attribute name: 'Pai?' (Smarty_Compiler.class.php, line 1547)" 

This look like a smarty tag error.

Try to put the content inside {literal}

Example

Code: Select all

{literal}
<p>Content</p>
{/literal}
About the croatian content, look after http://forums.mysql.com/read.php?103,19 ... msg-194656

Also, try to disable tinymce, and save the page, I had some problems with tinymce, just try, and let us know.

Re: Special charachters acting strange

Posted: Sat Jun 28, 2008 4:01 pm
by surogat
Your DB is full utf-8?
No it wasn't. I just changed a fieldĀ  content inside from
cms_content_props table to utf8 unicode and it works.
So it was a solution, for now at least :)

I don't why but it happend after I've upgraded to 1.3 version,
actually after I did upgrade I've lost all of special characters,
german and croatian.. I guess i did it wrong.

I don't now, generally TinyMc acts fuuny in this version,
I will try to customize it. Whitout many questions i hope :)

Thank you very much