Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-12-02 14:43:12

duchamp
Member
From: Patagonia
Registered: 2005-02-03
Posts: 222
Website

[issue] bad character encoding in category URL [spanish]

I’ve tryied to search for an answer but couldn’t find it.
I’m using this:

<code><txp:category_list break=“li” wraptag=“ul” parent=“books” /></code>

<br />
to show a list of categories and works well, but each item on the list points to:

http://site-url/categoría/name-of-category/

<br />
as you can see there’s an accent in the word “categoría” that is not parsed or transformed when you see the URL:

http://site-url/categor%c3%ada/name-of-category/
Any Help on this?

Thx

Last edited by duchamp (2005-12-02 14:47:51)

Offline

#2 2005-12-02 15:26:40

duchamp
Member
From: Patagonia
Registered: 2005-02-03
Posts: 222
Website

Re: [issue] bad character encoding in category URL [spanish]

Well, I modified the table txp_lang (ID 78) into the Database and that solved the problem.
Changing categoría for categoria.
Maybe this could be modified for the next release …

Offline

#3 2005-12-02 16:05:05

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: [issue] bad character encoding in category URL [spanish]

It’s not a bug, it’s the proper (per spec) encoding of the localized terms for category.

There’s a feature request around for using dirified, localized terms, that only use ascii and don’t change encoding. But that’s a) a feature request and b) not possible to do without breaking urls and plugins. So I am not sure when and how we’ll do this.

Offline

#4 2005-12-02 17:05:45

duchamp
Member
From: Patagonia
Registered: 2005-02-03
Posts: 222
Website

Re: [issue] bad character encoding in category URL [spanish]

Thank’s sencer.
I guess that it’s important to maintain the URLs clean and understables (in any language) and if there’s no feature that correct this, it could be temporary solved without using accents in some specific places (into the lang table).
I had the problem just with that word (categoría), not sure if there’s other ones.
Anyway, I’m loosing a little bit my english and maybe I didn’t understand something in your reply :-(

Regards

Offline

Board footer

Powered by FluxBB