Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-04-29 16:21:07

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

[textile] Does textile encode characters?

I always thought that textile encoded characters such as €, £, $, etc into their html entities or their numerical equivalents. Looking at the source of some txp websites I only see the characters and not their encoded entities. Was this always the case?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#2 2012-04-29 16:51:34

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: [textile] Does textile encode characters?

I can’t tell you if it was always the case but v2 doesn’t encode those characters and I haven’t added anything that does.


Steve

Offline

#3 2012-04-29 18:31:26

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: [textile] Does textile encode characters?

Hi Steve,

The question arises, when we publish articles should we be using their ASCI or html entities or is it OK just typing the symbols if utf8 is used?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#4 2012-04-29 18:55:46

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: [textile] Does textile encode characters?

Yes, using the Unicode characters as they are is just fine. Apart from possible target markup language’s reserved syntax characters, nothing needs to be converted to entities.

Offline

Board footer

Powered by FluxBB