non-ascii characters in tags

Discuss PivotX 2.0.x here. Non-PivotX related discussions go in The Drain.

non-ascii characters in tags

Postby kangoo » Wed Jul 02, 2008 8:01 pm

Currently, when a user creates tags, they mustn't use non-ascii chars in tagnames, because non-ascii letters won't appear accurately then. On the one hand, this is normal, especially, if one is using plain text database, so tag files that are stored on server don't have strange chars in their names. On the other hand, it is a bit awkward that tag cloud shows incorrectly written words. Maybe in future releases of Pivot there could be an improvement on this, for example, using the same transliteration function that creates entry links from entry titles?
kangoo
 
Posts: 32
Joined: Wed Jun 25, 2008 7:46 pm

Re: non-ascii characters in tags

Postby Bob » Mon Jul 21, 2008 7:24 pm

I'm still not sure how we should best handle things like this. If you think about it, there is no reason why a tag shouldn't contain an é or ø, or even be in another character set than western european, like 'история'.

We'll just have to make sure we can store these without breaking, especially for flat file DB's.
Bob
Lead Developer
 
Posts: 1374
Joined: Tue Nov 20, 2007 11:16 pm

Re: non-ascii characters in tags

Postby twpivot » Mon Apr 06, 2009 3:26 pm

Non-ascii characters in tags might be ok to show on web pages, but could it be transformed into ascii codes (like urlencode()) to save into system file.

Some multibyte language tags, once saved in the virtual hosting machine, can not be removed through FTP client.
twpivot
 
Posts: 1
Joined: Mon Apr 06, 2009 2:49 pm


Return to 2.x Discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron