Posts: 305
Threads: 15
Joined: Mar 2014
2015-04-18, 11:30:14
(This post was last modified: 2015-05-01, 18:17:01 by Tyblitz.)
Hello,
I built a website with GetSimple and the I18N plugin, and now I notice that whenever an HTML entity is explicitly written in the page source (eg, ' ' to put in extra spacing), it isn't displayed correctly in the browser (though it is in the WYSIWYG), take a look at screenshot below
Is this intended behavior for GS?
I know I18n plugin puts a content filter over pages, is that the cause?
Thanks for your help
Posts: 423
Threads: 15
Joined: Mar 2011
Are you declaring charset=UTF-8 in the template head?
--
Nick.
Posts: 305
Threads: 15
Joined: Mar 2014
(2015-04-18, 16:29:51)hameau Wrote: Are you declaring charset=UTF-8 in the template head?
Yes of course. I just tested on a localhost site with I18N-plugin installed, no issues there so it's something else.. Perhaps the theme? Or the server serving the wrong content-type?
Posts: 260
Threads: 39
Joined: Jun 2014
Hello,
I cannot confirm problems with theme "Innovation" and I18N plugins.
I use at several occasions and it is correctly passed through to HTML.
Did you try to deactivate the WYSIWYG editor and look what it did to the source code? That editor sometimes changed my source code, so I generally switch it off.
Posts: 6,267
Threads: 182
Joined: Sep 2011
some servers override charset, you might have to set it in htaccess or something.
Posts: 305
Threads: 15
Joined: Mar 2014
(2015-04-19, 06:53:24)shawn_a Wrote: some servers override charset, you might have to set it in htaccess or something.
Actually it was a badly placed call to html_entity_encode in my own plugin
If there's a way to close a post, this one can be closed
Posts: 1,247
Threads: 82
Joined: Feb 2011
(2015-04-30, 02:58:03)Tyblitz Wrote: (2015-04-19, 06:53:24)shawn_a Wrote: some servers override charset, you might have to set it in htaccess or something.
Actually it was a badly placed call to html_entity_encode in my own plugin
If there's a way to close a post, this one can be closed
You can't close a post, only admins can, but you can set it to Solved. In the Thread Subject you can change
No Prefix to
SOLVED.