Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-06-21 23:01:43
- guramadamia
- New Member
- Registered: 2006-06-21
- Posts: 4
Section disepear when names with unicode characters(non english)
good day to everybody :)
i have a small problem with unicode characters :
every time when i fill Section name string with non-english(unciode) values .. the section disappears in admin and the url changes on the site itself(to index.php). (also i’ve checked in mysql and the files section name is empty all the time when it’s changed form textpattern admin)i’m using textpattern 4.03
mbstring.encoding_translation is off
diagnostic results :
Charset (default/config): latin1/utf8
character_set_client: utf8
character_set_connection: utf8
character_set_database: utf8
character_set_results: utf8
character_set_server: cp1251
character_set_system: utf8
character_sets_dir: \usr\local\mysql5\share\charsets\
18 Tables: OK
i hope this info may help. thank you .
Last edited by guramadamia (2006-06-21 23:02:19)
Offline
#2 2006-06-22 01:22:40
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Section disepear when names with unicode characters(non english)
every time when i fill Section name string with non-english(unciode) values .. the section disappears in admin and the url changes on the site itself(to index.php)
What name are you using?
Alex
Offline
#3 2006-06-22 10:36:01
- guramadamia
- New Member
- Registered: 2006-06-21
- Posts: 4
Re: Section disepear when names with unicode characters(non english)
Setion name in :
Presentation > Sections > Section name
the character set is UTF-8.
***
After writing სტატიები inteed of articles here:

the section will disappear. ( and the name field/row will be empty in blog_txp_section )
Last edited by guramadamia (2006-06-22 10:44:08)
Offline
#4 2006-06-25 01:49:58
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Section disepear when names with unicode characters(non english)
That’s Georgian, correct?
Textpattern doesn’t seem to have transliteration rules for Georgian. The section name must contain ASCII characters only, since it’s used in the URL (as opposed to the Title, which can include any UTF-8 characters). Textpattern transliterates the characters it knows about, then removes any remaining non-ASCII characters. Since it doesn’t have tranlist rules for those characters, all of them are removed, and the section has an empty name.
Your options are:
1. Manually transliterate the Georgian word to ASCII, and enter it in the Name box.
2. Edit textpattern/lib/i18n-ascii.txt, add transliteration rules for Georgian characters, and post it on the i18n forum.
Alex
Offline