<?php // Use @ as replacement mb_substitute_character(0x40); $badAscii = 'Invalid input: ' . chr(0x81); print mb_convert_encoding($badAscii, 'UTF-8', 'ASCII'); print "\n"; $utf8 = 'UTF-8 that is not in ASCII: €'; print mb_convert_encoding($utf8, 'ASCII', 'UTF-8');
You have javascript disabled. You will not be able to edit any code.