note 98330 added to function.setlocale
| From: | p dot thomas at inlive dot info | Date: | Wed, 09 Jun 2010 13:41:04 +0000 |
| Subject: | note 98330 added to function.setlocale | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-169980@lists.php.net to get a copy of this message | ||
Bug constatée avec le setlocale pour le Turc.
La fonction donne le résultat attendu, permettant l'usage "correct" avec le
strftime
MAIS les I (i majuscule) semblent mal interprétés au moins en début de nom de méthodes
à partir de ce moment.
Il est donc nettement préférable de replier sur UTF ou autre langue juste apres les
productions de chaines, et donc de n'appliquer la localisation qu'au moment requis.
Le probleme a été identifié sur la méthode Init avec ADODB.
ref:
Fatal error: Call to undefined method ADORecordSet_mysql::Init() in ... adodb/adodb.inc.php on line
...
Facile à contourner, il suffit de savoir.
----
Server IP: 89.31.146.176
Probable Submitter: 82.230.29.248
----
Manual Page -- http://www.php.net/manual/en/function.setlocale.php
Edit -- https://master.php.net/note/edit/98330
Del: integrated -- https://master.php.net/note/delete/98330/integrated
Del: useless -- https://master.php.net/note/delete/98330/useless
Del: bad code -- https://master.php.net/note/delete/98330/bad+code
Del: spam -- https://master.php.net/note/delete/98330/spam
Del: non-english -- https://master.php.net/note/delete/98330/non-english
Del: in docs -- https://master.php.net/note/delete/98330/in+docs
Del: other reasons-- https://master.php.net/note/delete/98330
Reject -- https://master.php.net/note/reject/98330
Search -- https://master.php.net/manage/user-notes.php