Jump to content

[SOLVED] converting from utf-8 entities to utf-8 characters


stubarny

Recommended Posts

Hi

 

I'm converting from utf-8 to base64 in order to use variables in email subject fields.

 

The utf-8 code i have is in entity form (e.g. "坛" ) but of course if i convert this to base64 the subject will display "坛" rather than the chinese character it represents.

 

So how can the "&#22363" be converted into character form within the php code to allow the base64 encoding to take place?

 

Thanks for your help!

 

Stu

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.