[Typo3] RealURL & Greek ( or Cyrillic,... ) special characters

[ /\ 3CM ][ Christoforos Christou c.christou at 3CM.biz
Sun Feb 6 12:00:29 CET 2005


Hello listmembers

Well, I configure successfully a multilingual dummy TYPO3 3.7.0 /
PHP 4.3.10 (not PHP 4.2.3 [characterbug]) / MySQL 4.1.9 (I know
the trouble with this Version *g*) installation with freesite,
RealURL, the template-integration of sr_language_menu and other
extensions. Really unbelievable work what the community
here does! :-)

I've only one question:
After a research of a few days in the lists, google... I cannot
solve the URI-Problem with my Greek titles. The Greek characters
will all strip from the path.. (same effect for every other
special character outside of Latin-1 like Cyrillic)

I tried the Tip of  Sandis Jerics posted in:
http://typo3.org/documentation/mailing-lists/english-main-list-archive/thread/44406/?tx_maillisttofaq_pi1%5Bmode%5D=8
----------------------
For my own needs, I'll probably do a dirt fast hack somewhere
along line 378:
$title = strtr($title,array('' => 'th', '? => 'dh', '? => 'ss',
'? => 'ae')); // rewrite some special chars
----------------------
But neither (I use the class.tx_realurl_advanced.php) the line
378, nor other tries I do (over $processedTitle and so on...)
brings a solution. I get every time a stripped URI (and bad
links of course) on pages with Greek characters.
I use in BE & FE utf-8, because I often use a character-mix in
the same page. I edit  the file class.tx_realurl_advanced.php
over the TYPO3-internal edit-function, so the transfer to my
server is in utf-8. Have not seen problems with this method yet.
So I think the problem is to find the exact place/line, where I
have to substitute my Greek "alpha" into a Latin "a", my Greek
beta, gamma to a Latin b,g...
I don't have see something (I think) that solves my problem.
It will be good enough, if I can use for all languages the
English title only like /english/has/no/problem/in/my/path/,
/Greek/has/no/problem/in/the/path/, and so on...

So I see three (without the integration of any language.php)
ways for a solution:
- character-conversion or
- use of the English-Path in all languages and
- of course the use of an alias (also discussed here)

any hint?

Sorry for my terrible English and thanks for reading this posting

kind regards

- Christoforos

-----------------------
The mailing list archive is found here:
http://typo3.org/documentation/mailing-lists/english-main-list-archive/
                                





More information about the TYPO3-english mailing list