Add Support for Character Encoding
-
I would like to make a suggestion to support Page Character Encodings, being the default UTF-8.
On plugin attributes append:
'source_encoding' => 'UTF-8', 'target_encoding' => 'UTF-8',
Then when parsing the response
// strip the tags ... // Convert the source encoding if ( $source_encoding != $target_encoding ) { $response = mb_convert_encoding($response, $target_encoding, $source_encoding); } // HTML encode the response ...
Too bad that we can’t make pull-requests like in GIT ??
What do you think about this feature ?
- The topic ‘Add Support for Character Encoding’ is closed to new replies.