Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-10-07 15:21:58

nabrown78
Member
From: Northampton, MA, USA
Registered: 2006-10-04
Posts: 294
Website

[request] Write-tab character entity plugin?

I’ve looked around a bit, but haven’t been able to find:

An admin-side plugin that would put some kind of a shortcut menu or something to insert a character entity into the body field. Like if I’m writing along and I need a ñ for example, instead of having to go look it up I could just open up a menu and select the right character to insert it.

Does anything like this exist? Would it be useful for others?

Offline

#2 2009-10-07 15:40:21

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: [request] Write-tab character entity plugin?

if you’re a Snow Leoparder, you can define abbreviations for commonly used text strings.

Offline

#3 2009-10-07 15:42:26

nabrown78
Member
From: Northampton, MA, USA
Registered: 2006-10-04
Posts: 294
Website

Re: [request] Write-tab character entity plugin?

Yay Mac! Unfortunately though, I’d like this feature for my clients, most of whom are on PC, using some terrible old browser…

Offline

#4 2009-10-07 17:16:56

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

Re: [request] Write-tab character entity plugin?

nabrown78 wrote:

An admin-side plugin that would put some kind of a shortcut menu or something to insert a character entity into the body field.

Any reason? The content is UTF-8 (unicode). No need for entities.

If the client can’t output the char directly by keyboard (nor remember the code), any OS’ char/translator/word-predict/mapper can do it. Yay Windows 7.

Offline

#5 2009-11-11 03:02:15

nabrown78
Member
From: Northampton, MA, USA
Registered: 2006-10-04
Posts: 294
Website

Re: [request] Write-tab character entity plugin?

So wait, maybe I’m totally baked. I mean, Textpattern encodes quotes properly for a reason though, right? If I want to throw in say, an n with a tilde over it – I can’t just paste it on in there if I want it to display correctly for everyone, right? I need to use an entity. Or so I thought…

Offline

#6 2009-11-11 03:29:41

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

Re: [request] Write-tab character entity plugin?

nabrown78 wrote:

I can’t just paste it on in there if I want it to display correctly for everyone, right? I need to use an entity. Or so I thought…

You need only use entities if you use charset that doesn’t hold that char. But UTF-8 holds every unicode char.

nabrown78 wrote:

I mean, Textpattern encodes quotes properly for a reason though, right?

No, quotes are encoded because they are changed to match typography. Straight quotes are only used in code, not in text.

Only thing you must encode are <, >, ", & by (X)HTML markup specs, ‘cause those are used to generate markup tags. And Textile does that for you.

Last edited by Gocom (2009-11-11 03:34:02)

Offline

#7 2009-11-11 03:43:22

nabrown78
Member
From: Northampton, MA, USA
Registered: 2006-10-04
Posts: 294
Website

Re: [request] Write-tab character entity plugin?

Huh, okay thanks. So have you ever seen a site with some goofy characters thrown in, like question marks in little diamonds, for example – I’ve even seen it occasionally on nytimes.com or a big site like that. Do you know what is happening there?

Offline

#8 2009-11-11 03:52:25

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

Re: [request] Write-tab character entity plugin?

nabrown78 wrote:

Huh, okay thanks. So have you ever seen a site with some goofy characters thrown in, like question marks in little diamonds, for example – I’ve even seen it occasionally on nytimes.com or a big site like that. Do you know what is happening there?

Only if there is charset gone wrong or I don’t have support for that used language (like japanese).

But in general, everything works fine. Like wikipedia, in every language.

Offline

Board footer

Powered by FluxBB