Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-07-21 04:55:45

elcugo
New Member
From: Oaxaca, México
Registered: 2005-07-21
Posts: 5
Website

Textpattern deletes accented chars

Hello all, i was looking for a CMS for my personal site/weblog and Textpattern seems to be the best for the job.
Anyway, when i create a page with accented chars like “áéíóú” these are not included in the html output. I f i manually replacethem with their correspondig entity they work, but doing it is really anoying and really kills one of the benefits of using a CMS.
Is this normal behavior or is a bug? How do i prevent it from doing it?
Thanks.

Offline

#2 2005-07-21 06:28:39

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Textpattern deletes accented chars

Textpattern supports accented characters. Those same characters work fine for me.

Can you show us the page where they’re not showing up?


Alex

Offline

#3 2005-07-21 06:45:29

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: Textpattern deletes accented chars

Non ascii glyphs work fines with me (we won’t talk about the entitize here :p), and a lot other people. What do you call a “pag” ?

If you insert a é inside a page (aka template), or form, it will be displayed “as such”. The webpage is encoded in utf8, so theres no trouble here. If you insert a é in an article, it will be encoded by Textile, and displayed as numerical entity , no problem either.

What version of TXp are you using ?

Offline

#4 2005-07-21 06:48:53

elcugo
New Member
From: Oaxaca, México
Registered: 2005-07-21
Posts: 5
Website

Re: Textpattern deletes accented chars

I’m not sure what do you mean, i’m new to Textpattern. i’m using the default Textpattern theme, no plugins, no customizations , no nothing (just installed TP today) the page is created by textile and if i write accented characters they are saved in the database but they are not in the html output (including the output inside textpattern mysql table).
This is the input:

Estoy probando textpattern, un sistema de blog (weblog) hecho en php y que me pareció muy bueno. Ahora lo estoy probando en mi servidor local, pero si funciona lo subiré a mi …

And the output:

<p>Estoy probando textpattern, un sistema de blog (weblog) hecho en php y que me pareci muy bueno. Ahora lo estoy probando en mi servidor local, pero si funciona lo subir a mi <a href=“http://elcugo.mixtk.com”>subdominio en Mixtk.com</a>.</p>

Offline

#5 2005-07-21 06:53:29

elcugo
New Member
From: Oaxaca, México
Registered: 2005-07-21
Posts: 5
Website

Re: Textpattern deletes accented chars

Lol, the board interpreted the HTML:

&lt;p&gt;Estoy probando textpattern, un sistema de blog (weblog) hecho en php y que me pareci muy bueno. Ahora lo estoy probando en mi servidor local, pero si funciona lo subir a mi … &lt;/p&gt;

And sorry for not being clear, i meant an article :).

Offline

#6 2005-07-21 07:06:18

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Textpattern deletes accented chars


Alex

Offline

#7 2005-07-21 07:23:11

elcugo
New Member
From: Oaxaca, México
Registered: 2005-07-21
Posts: 5
Website

Re: Textpattern deletes accented chars

Yeah, i can see it works for you, but i don’t get the characters, nor entities, they just disapear.
Textpattern 1.0RC3
PHP 4.4.0
Apache 2.0.54
MySQL 4.0.24
Gentoo Linux, Kernel 2.6.11-r8
Konqueror 3.4.1
Mozilla Firefox 1.0.5

The problem only happens in article editing, in comments and other places as well as other pages works ok.

Offline

#8 2005-07-21 08:14:55

elcugo
New Member
From: Oaxaca, México
Registered: 2005-07-21
Posts: 5
Website

Re: Textpattern deletes accented chars

Hi, it’s me again. I uploaded TP to my real server, and now it works! http://elcugo.mixtk.com
It looks like there’s something broken with my development box, oh well. Thanks all for all your help even though the problem wasn’t completely solved, i’m available if you need to research this issue but since now it works don’t worry too much.
See you around.

Offline

Board footer

Powered by FluxBB