Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I know nothing about any form of Chinese, but by looking at the examples in <a href="http://simple.wikipedia.org/wiki/Standard_Chinese_%28language%29" rel="nofollow noreferrer">this Wikipedia page</a> I'm inclined to think that automatic conversion is possible, since many of the phrases seem to use the same number of characters and even the some of the same characters.</p> <p>I ran <a href="http://www.ideone.com/eTSeH" rel="nofollow noreferrer">a quick test</a> using a multibyte <code>ord()</code> function and I can't see any patterns that would allow the automatic conversion without the use of a (huge?) lookup translation table.</p> <pre><code>Traditional Chinese 漢字 Simplified Chinese 汉字 function mb_ord($string) { if (is_array($result = unpack('N', iconv('UTF-8', 'UCS-4BE', $string))) === true) { return $result[1]; } return false; } var_dump(mb_ord('漢'), mb_ord('字')); // 28450, 23383 var_dump(mb_ord('汉'), mb_ord('字')); // 27721, 23383 </code></pre> <p>This might be a good place to start building the LUTT:</p> <ul> <li><a href="http://xahlee.org/lojban/simplified_chars.html" rel="nofollow noreferrer"><strong>Simplified/Traditional Chinese Characters List</strong></a></li> </ul> <p>I got to <a href="https://stackoverflow.com/questions/4892372/language-codes-for-simplified-chinese-and-traditional-chinese/4894634#4894634">this other linked answer</a> that seems to agree (to some degree) with my reasoning:</p> <blockquote> <p>There are several countries where Chinese is the main written language. The major difference between them is whether they use simplified or traditional characters, <strong><em>but there are also minor regional differences</em></strong> (in vocabulary, etc).</p> </blockquote>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload