<?php
$corrupted = "เน„เธกเนˆเธกเธ";
$raw_bytes = mb_convert_encoding($corrupted, 'Windows-1252', 'UTF-8');
$thai = iconv('TIS-620', 'UTF-8', $raw_bytes);
echo "Decoded: " . $thai . "\n";
