note 96664 added to function.iconv
| From: | s dot lothary at googlemail dot com | Date: | Wed, 10 Mar 2010 15:12:28 +0000 |
| Subject: | note 96664 added to function.iconv | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-166863@lists.php.net to get a copy of this message | ||
if you want to access a MSSQL-Server you get the Data in UCS-2. UCS-2 is under a Linux System
Latin1!
Converting UCS-2 to UTF8:
$result = iconv("Latin1","UTF-8",$mystring);
Converting UTF8 to UCS-2:
$result = iconv("UTF-8","Latin1",$mystring);
----
Server IP: 203.169.204.174
Probable Submitter: 217.6.95.140
----
Manual Page -- http://www.php.net/manual/en/function.iconv.php
Edit -- https://master.php.net/note/edit/96664
Del: integrated -- https://master.php.net/note/delete/96664/integrated
Del: useless -- https://master.php.net/note/delete/96664/useless
Del: bad code -- https://master.php.net/note/delete/96664/bad+code
Del: spam -- https://master.php.net/note/delete/96664/spam
Del: non-english -- https://master.php.net/note/delete/96664/non-english
Del: in docs -- https://master.php.net/note/delete/96664/in+docs
Del: other reasons-- https://master.php.net/note/delete/96664
Reject -- https://master.php.net/note/reject/96664
Search -- https://master.php.net/manage/user-notes.php