'Find and replace special x character from string in php
I am working with the stripe webhook system and they include a special x character in their subscription description field. Below is an example.
"description": "1 × Base Package (at $25.00 / year)",
When this description is entered into a utf8 formatted email the character is lost and replaced with an A character. I have tried a grocery list of functions attempting to find this character. I wish to simply replace it with either a standard x or html character.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|