How can I show these characters on a webpage?
// An example to replace all newlines with their character equivalent $value = preg_replace('/[\r\n]+/', '\n', $value); echo htmlentities($value);