Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-08-14 00:30:07

ToOb
New Member
From: Czech republic
Registered: 2005-08-13
Posts: 4

Strange dirifying for Czech

There are few naughty characters which disappear instead of being translated to ascii alternative. Please extend i18n-ascii.txt:
š = s
ý = y
ž = z
Š = S
Ý = Y
Ž = Z

Another looks like to be already handeled but not functional?
á = a
ň = n

And there is last one which isn’t in i18n-ascii.txt. But is sometimes translated to “-” (dash) when I throw it in:
ť = t

I’m not able to understand why. :(

Dirifying should be nice for “comment phrases” too (article-url#badchars breaks validity of code).

Thanks for great work!

Maybe you should use piece of dgx’s WordPress plugin:

<code>”\xc3\x81”=>‘A’, “\xc4\x8c”=>‘C’, “\xc4\x8e”=>‘D’, “\xc3\x89”=>‘E’,
“\xc4\x9a”=>‘E’, “\xc3\x8d”=>‘I’, “\xc5\x87”=>‘N’, “\xc3\x93”=>‘O’,
“\xc5\x98”=>‘R’, “\xc5\xa0”=>‘S’, “\xc5\xa4”=>‘T’, “\xc3\x9a”=>‘U’,
“\xc5\xae”=>‘U’, “\xc3\x9d”=>‘Y’, “\xc5\xbd”=>‘Z’,
“\xc3\xa1”=>‘a’, “\xc4\x8d”=>‘c’, “\xc4\x8f”=>‘d’, “\xc4\x9b”=>‘e’,
“\xc3\xa9”=>‘e’, “\xc3\xad”=>‘i’, “\xc5\x88”=>‘n’, “\xc3\xb3”=>‘o’,
“\xc5\x99”=>‘r’, “\xc5\xa1”=>‘s’, “\xc5\xa5”=>‘t’, “\xc3\xba”=>‘u’,
“\xc5\xaf”=>‘u’, “\xc3\xbd”=>‘y’, “\xc5\xbe”=>‘z’,
“\xc3\xa4”=>‘a’, “\xc3\xab”=>‘e’, “\xc3\xb6”=>‘o’, “\xc3\xbc”=>‘u’,
“\xc3\x84”=‘A’, “\xc3\x8b”=‘E’, “\xc3\x96”=‘O’, “\xc3\x9c”=‘U’
</code>

Offline

#2 2005-08-14 16:18:34

mamash
Member
From: Prague
Registered: 2004-02-21
Posts: 127
Website

Re: Strange dirifying for Czech

Interesting. This used to work a couple of revisions back just fine. Must be those last minute pre-4.0 fixes.


Who’s gonna textdrive you home tonight?

Offline

#3 2005-08-14 17:32:45

mamash
Member
From: Prague
Registered: 2004-02-21
Posts: 127
Website

Re: Strange dirifying for Czech

OK, all are corrected now, but the ‘ň’ and ‘ť’ still get translated as a dash. I’ll be pursuing this for resolution.

It’s commited in the last SVN revision.


Who’s gonna textdrive you home tonight?

Offline

#4 2005-08-25 17:59:06

Etz Haim
Archived Plugin Author
From: Karlstad, Sweden
Registered: 2005-01-24
Posts: 262
Website

Re: Strange dirifying for Czech

Does this problem still persist for you after revision 840?

Offline

Board footer

Powered by FluxBB