Unicode keyword translation

Do you see garbled text, unicode keywords in your referral web stats reports like below?

เรียน ที่ไหน

Use the below url for the conversion:

Unicode keyword translation

Here is the simple php source code that uses google translate for translation to English:

<?php header("Content-Type: text/html; charset=iso-8859-1"); ?>

  <title>Unicode keyword translation</title>
  <br />
  Copy/paste unicode keyword:
  <br />
  <br />
  <form action="convert_keywords.php">
    <input size="100" name="input" value="<?= $_GET['input']; ?>" type="text">
    <input value="Go" type="submit">
  <br />
  <br />

=explode("=", $_SERVER['QUERY_STRING']);
$translate_url="http://translate.google.com/?hl=en#auto|en|" . $query;
$query)) {

  <iframe src="<?= $translate_url; ?>" width="100%" height="100%">
  Iframe unsupported...

<?php } ?>


Post new comment

  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Enter the characters shown in the image.