note 77315 added to function.iconv
| From: | (gree4TgreesD0Tnet) | Date: | Fri, 24 Aug 2007 09:19:42 +0000 |
| Subject: | note 77315 added to function.iconv | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-129744@lists.php.net to get a copy of this message | ||
In my case, I had to change:
<?php
setlocale(LC_CTYPE, 'cs_CZ');
?>
to
<?php
setlocale(LC_CTYPE, 'cs_CZ.UTF-8');
?>
Otherwise it returns question marks.
When I asked my linux for locale (by locale command) it returns "cs_CZ.UTF-8", so there is
maybe correlation between it.
iconv (GNU libc) 2.6.1
glibc 2.3.6
----
Server IP: 69.147.83.197
Probable Submitter: 89.176.70.114
----
Manual Page -- http://www.php.net/manual/en/function.iconv.php
Edit -- https://master.php.net/note/edit/77315
Del: integrated -- https://master.php.net/note/delete/77315/integrated
Del: useless -- https://master.php.net/note/delete/77315/useless
Del: bad code -- https://master.php.net/note/delete/77315/bad+code
Del: spam -- https://master.php.net/note/delete/77315/spam
Del: non-english -- https://master.php.net/note/delete/77315/non-english
Del: in docs -- https://master.php.net/note/delete/77315/in+docs
Del: other reasons-- https://master.php.net/note/delete/77315
Reject -- https://master.php.net/note/reject/77315
Search -- https://master.php.net/manage/user-notes.php