Jump to content

[SOLVED] UTF8 Encoding?


Mike088

Recommended Posts

Hey everyone I'm trying to encode a variable into UTF8 char set, I don't want the whole thing UTF8 just this variables data. How would I go about doing that?

 

My variable as follows:

$link = ("<a href=\"http://$url\blahblah">Link Here</a>");

 

I tried and failed with this:

string utf8_encode  (string $link);

 

So all up I want to encode the variable then print/echo it.

 

Help appreciated :)

Link to comment
https://forums.phpfreaks.com/topic/128318-solved-utf8-encoding/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.