[wp-hackers] cagetory slug?

Ryan Boren ryan at boren.nu
Sat Sep 4 06:57:54 UTC 2004


On Wed, 2004-09-01 at 07:51 +0200, Hoang Tuan wrote:
> hi all!
> is there any kind of this feature?

It's on the could-be list for 1.3.

http://codex.wordpress.org/Version_1.3

We need to decide how to present this cleanly in the UI.

> when i use permalink, because i use UTF-8 in cagetory name so the
> cagetory permalink is incorect :( for example: 'Cuộc sống' will be map
> to cuc-sng in the URL. the post has post slug, so i can define slug
> and no problem in URL with it;

I have a plugin which take unicode characters and converts them to a
sequence of octets represented as %HH where HH is the hexadecimal
representation of the octet.  Here's an example consisting of some
random Arabic characters.

/archives/2004/09/04/general/%d8%ac%d8%ad%d8%ae%d8%af%d8%b0/

Characters in the US-ASCII range are not encoded as octets.  They are
left as is.  For example,

/archives/2004/09/04/general/ascii-now-arabic-%d8%ac%d8%ad%d8%ae%d8%af%
d8%b0/

I'll send the plugin to this list soon.  If I can do so cleanly, I'll
integrate it into WP core.  We should handle UTF-8 out-of-the-box.

Ryan






More information about the hackers mailing list