mardi 14 février 2017

What does b"string" mean in dd() function?

dd($result);

Result:

...
+description: "عند...ترنت."    
+keywords: b"°ó¨Ü¨ü¨ê...ܰ®"
...

+keywords has the letter 'b' in front of the string, description does not have that... What does the 'd' mean? And if it is possible, how can I convert the string?

Btw, this is the result if I var_dump the keywords: string(116) "���,����,�,��,����������,����������,��,��������,�������,������:"

I think it has to do something with charset, i'm using UTF-8.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2lfcBSm
via IFTTT

Aucun commentaire:

Enregistrer un commentaire