note 118162 added to function.exif-read-data
| From: | b at asdflolinternet dot de | Date: | Sun, 18 Oct 2015 00:42:23 +0000 |
| Subject: | note 118162 added to function.exif-read-data | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-203974@lists.php.net to get a copy of this message | ||
Problem with "S�o�m�e� �T�e�x�t��" on
value(s), exif[IFD0][Title] for example, when they were edited trough windows right click properties
and then got read with the read_exif_data() function.
try:
$exif_['IFD0']['Title']=mb_convert_encoding($exif_['IFD0']['Title'],"auto","byte2le");
works on UTF-8 and so.
//
// outputs all available character encodings and prints on screen
// foreach(mb_list_encodings() as $chr)
// {$test[$chr]=mb_convert_encoding($image[IFD0][Title],'auto',$chr);}
// exit(print_r($test));
//
----
Server IP: 72.52.91.14
Probable Submitter: 80.129.158.150
----
Manual Page -- http://php.net/manual/en/function.exif-read-data.php
Edit -- https://master.php.net/note/edit/118162
Del: integrated -- https://master.php.net/note/delete/118162/integrated
Del: useless -- https://master.php.net/note/delete/118162/useless
Del: bad code -- https://master.php.net/note/delete/118162/bad+code
Del: spam -- https://master.php.net/note/delete/118162/spam
Del: non-english -- https://master.php.net/note/delete/118162/non-english
Del: in docs -- https://master.php.net/note/delete/118162/in+docs
Del: other reasons-- https://master.php.net/note/delete/118162
Reject -- https://master.php.net/note/reject/118162
Search -- https://master.php.net/manage/user-notes.php