<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<textarea style="-moz-appearance:none; width:300px; height:300px;">
foo&#x01;bar
</textarea>
</body>
</html>