List Info

Thread: note 78685 added to function.mb-convert-encoding




note 78685 added to function.mb-convert-encoding
user name
2007-10-23 08:24:06
May be I'm not getting something, but this code:

<?php
print mb_detect_encoding( "ñ" )
print "<br/>"
print mb_convert_encoding( "ñ", "UTF-8"
);
?>

Will yield this output:

UTF-8
ñ

So, was the string encoded in UTF-8 or wasn't it?
----
Server IP: 201.216.232.3
Probable Submitter: 24.232.22.244
----
Manual Page -- http://www.php.net/manual/en/function.mb-convert-en
coding.php
Edit        -- https://master
.php.net/note/edit/78685
Del: integrated  -- h
ttps://master.php.net/note/delete/78685/integrated
Del: useless     -- http
s://master.php.net/note/delete/78685/useless
Del: bad code    -- htt
ps://master.php.net/note/delete/78685/bad+code
Del: spam        -- https:/
/master.php.net/note/delete/78685/spam
Del: non-english -- 
https://master.php.net/note/delete/78685/non-english
Del: in docs     -- http
s://master.php.net/note/delete/78685/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/78685
Reject      -- https://mast
er.php.net/note/reject/78685
Search      -- https://
master.php.net/manage/user-notes.php

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )