Skip to content

Commit dc6eebe

Browse files
author
Nicholas Pisarro
committed
now shows unicode character information
git-svn-id: http://svn.php.net/repository/pear/packages/Text_LanguageDetect/trunk@209120 c90b9560-bf6c-de11-be94-00142212c4b1
1 parent 00cae85 commit dc6eebe

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/example_clui.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@
3030
} else {
3131
print_r($result);
3232
}
33+
$blocks = $l->detectUnicodeBlocks($line, true);
34+
if (PEAR::isError($blocks)) {
35+
echo $blocks->getMessage(), "\n";
36+
} else {
37+
print_r($blocks);
38+
}
3339
}
3440

3541
fclose($stdin);

0 commit comments

Comments
 (0)