cat-users AT lists.geant.org
Subject: The mailing list for users of the eduroam Configuration Assistant Tool (CAT)
List archive
- From: Stefan Winter <address@concealed>
- To: JÁKÓ András <address@concealed>
- Cc: Tomasz Wolniewicz <address@concealed>, address@concealed
- Subject: Re: [[cat-users]] installer download problem
- Date: Mon, 4 Feb 2019 15:31:08 +0100
Hi!
> I'll do this. Not using non-ASCII is not a problem for us at all.
Great! Still, I like to get to the bottom of things.
It turns out that what TRANSLIT does depends on the locale that is set.
Since you were downloading Hungarian installers, the transliteration of
the word happened according to the transliteration rules for Hungarian.
Which are markedly different from those of any other language we support
in CAT.
The solution is probably to always transliterate with the English
transliteration rules, regardless of language selected, which then
simply redacts all kinds of accents.
If you're curious, this is the Unix "LC_CTYPE" language setting. If
you're even more curious, look at the PHP code and output below, which I
ran on my dev box to see the difference with my own eyes.
We'll include this fix in 2.0.1 (considering that you indicated that the
workaround is not problematic for you).
Greetings,
Stefan Winter
<?php
setlocale(LC_CTYPE, "en_US.UTF-8");
echo iconv("UTF-8", "US-ASCII//TRANSLIT", "áprilistól");
echo "\n";
setlocale(LC_CTYPE, "de_DE.UTF-8");
echo iconv("UTF-8", "US-ASCII//TRANSLIT", "áprilistól");
echo "\n";
setlocale(LC_CTYPE, "el_GR.UTF-8");
echo iconv("UTF-8", "US-ASCII//TRANSLIT", "áprilistól");
echo "\n";
setlocale(LC_CTYPE, "hu_HU.UTF-8");
echo iconv("UTF-8", "US-ASCII//TRANSLIT", "áprilistól");
echo "\n";
?>
Output:
aprilistol
aprilistol
aprilistol
a'prilisto'l
--
Stefan WINTER
Ingenieur de Recherche
Fondation RESTENA - Réseau Téléinformatique de l'Education Nationale et
de la Recherche
2, avenue de l'Université
L-4365 Esch-sur-Alzette
Tel: +352 424409 1
Fax: +352 422473
PGP key updated to 4096 Bit RSA - I will encrypt all mails if the
recipient's key is known to me
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC0DE6A358A39DC66
Attachment:
0xC0DE6A358A39DC66.asc
Description: application/pgp-keys
Attachment:
signature.asc
Description: OpenPGP digital signature
-
[[cat-users]] installer download problem,
JÁKÓ András, 02/04/2019
-
Re: [[cat-users]] installer download problem,
Tomasz Wolniewicz, 02/04/2019
-
Re: [[cat-users]] installer download problem,
JÁKÓ András, 02/04/2019
-
Re: [[cat-users]] installer download problem,
Stefan Winter, 02/04/2019
-
Re: [[cat-users]] installer download problem,
JÁKÓ András, 02/04/2019
- Re: [[cat-users]] installer download problem, Stefan Winter, 02/04/2019
-
Re: [[cat-users]] installer download problem,
JÁKÓ András, 02/04/2019
-
Re: [[cat-users]] installer download problem,
Stefan Winter, 02/04/2019
-
Re: [[cat-users]] installer download problem,
JÁKÓ András, 02/04/2019
-
Re: [[cat-users]] installer download problem,
Tomasz Wolniewicz, 02/04/2019
Archive powered by MHonArc 2.6.19+.
