3212 Posts in 847 Topics by 809 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2141 Views |
-
template-components

17 December 2008 at 5:41pm
hi,
i have created template.ss and template-Edit.ss to get the components under the CMS.
i had used html edit to creat the story, and the page shows some � � � � � � � which are not in my codes.
i have no idea how to fix that, i need some help.
thanks
-
Re: template-components

18 December 2008 at 10:01pm Last edited: 18 December 2008 10:04pm
Seems like the characters are not escaped.
Does it replace any characters on the page?
for an example you have to use & for the ampersand
-
Re: template-components

18 December 2008 at 11:08pm
hello,
ye, it looks like it is replacing characters
in mysite/_config.php:
ContentNegotiator::set_encoding('utf-8');
and in templates (Page.ss):
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
at least this worked for me and norwegian æ å ø symbols
-
Re: template-components

12 July 2009 at 10:33pm
I have also this problem i created template in russian but all russian text in template, i can't see. i used both way encoding in
1. _config.php ContentNegotiator::set_encoding('windows-1251');
2. <meta http-equiv="Content-Type" content="text/html; charset=windows-1251" /> in page.ssbut it doesn't work help me please.
-
Re: template-components

12 July 2009 at 10:49pm
even i tried in html code but unfortunally doesn't work
HTML CODES:
http://webdesign.about.com/od/localization/l/blhtmlcodes-ru.htm
| 2141 Views | ||
|
Page:
1
|
Go to Top |



