Re: Help! PRINTF Function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/11/06, ngoc.truong-torche@xxxxx <ngoc.truong-torche@xxxxx> 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 usingUTF-8 encoding?
Dotan Cohen
http://what-is-what.com/what_is/xml.html

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux