On 06/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hello, The following examples don't work printf("[%10s]\n", $s); // justification à droite avec des espaces printf("[%-10s]\n", $s); // justification à gauche avec des espaces but this one: printf("[%'#10s]\n", $s); // utilisation du caractère personnalisé de séparation '#' is ok (with any separator) Source: http://ch2.php.net/manual/fr/function.sprintf.php Is it related to French characters set I used for displaying my page ?
We'd only know if you told us what "doesn't work" means. Do you get _any_ output? What? Error messages? Are you sure that you're using UTF-8 encoding? Dotan Cohen http://what-is-what.com/what_is/xml.html