[Solved] Special charachters acting strange

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
surogat
Forum Members
Forum Members
Posts: 52
Joined: Sun Jan 27, 2008 6:14 pm

[Solved] Special charachters acting strange

Post 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
Last edited by surogat on Wed Jul 30, 2008 9:35 am, edited 1 time in total.
Ziggywigged
Power Poster
Power Poster
Posts: 424
Joined: Sat Feb 02, 2008 12:42 am

Re: Special charachters acting strange

Post 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" />
Take a penny, leave a penny.
surogat
Forum Members
Forum Members
Posts: 52
Joined: Sun Jan 27, 2008 6:14 pm

Re: Special charachters acting strange

Post 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
alby

Re: Special charachters acting strange

Post 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
viebig

Re: Special charachters acting strange

Post 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.
Last edited by viebig on Fri Jun 27, 2008 5:53 pm, edited 1 time in total.
surogat
Forum Members
Forum Members
Posts: 52
Joined: Sun Jan 27, 2008 6:14 pm

Re: Special charachters acting strange

Post 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
Locked

Return to “[locked] CMSMS MLE fork”