Re: [TYPO3-english] RealURL 2.x: Transliteration?

2016-04-12 Thread Christian Welzel

Am 11.04.16 um 21:50 schrieb Urs Braem:

Huh, interesting, it works with iconv. Thanks!


Have you checked the value of mbstring.internal_encoding in PHP
settings? On my hoster, this value is unset, while
iconv.internal_encoding is set to ISO-8859-1. I had some issues
in the past, when mbstring.internal_encoding is set to the wrong
value.


--
 MfG, Christian Welzel

  GPG-Key: http://www.camlann.de/de/pgpkey.html
  Fingerprint: 4F50 19BF 3346 36A6 CFA9 DBDC C268 6D24 70A1 AD15
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] RealURL 2.x: Transliteration?

2016-04-11 Thread Dmitry Dulepov

Hi!

Urs Braem wrote:

AFAIK, in RealURL 1.x, special characters were replaced using a
dedicated transliteration table.
Is that still the case for RealURL 2.x? Or does it require certain PHP
extensions like http://php.net/manual/de/class.transliterator.php ?

I'm asking because on a server I don't know so well (with TYPO3 7.6),
the transliteration is not happening.
("fur" instead of "fuer" for "für").

I've set:

$GLOBALS[TYPO3_CONF_VARS][SYS][systemLocale] = de_CH.UTF-8
config.locale_all = de_CH.UTF-8
in php.ini / user.ini intl.default_locale = de_CH.UTF-8 # (?)


RealURL uses TYPO3 functions to convert non-ascii characters to ascii. 
Code is similar to RealURL 1.x:


https://github.com/dmitryd/typo3-realurl/blob/development/Classes/Utility.php#L70

--
Dmitry Dulepov

Today is a good day to have a good day.
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

[TYPO3-english] RealURL 2.x: Transliteration?

2016-04-09 Thread Urs Braem
AFAIK, in RealURL 1.x, special characters were replaced using a dedicated transliteration table. 


Is that still the case for RealURL 2.x? Or does it require certain PHP 
extensions like http://php.net/manual/de/class.transliterator.php ?

I'm asking because on a server I don't know so well (with TYPO3 7.6), the 
transliteration is not happening.
("fur" instead of "fuer" for "für").


I've set:

$GLOBALS[TYPO3_CONF_VARS][SYS][systemLocale] = de_CH.UTF-8
config.locale_all = de_CH.UTF-8
in php.ini / user.ini 
intl.default_locale = de_CH.UTF-8 # (?)

___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english