Skip to content

Commit

Permalink
add link to zi.tools for CJKV characters
Browse files Browse the repository at this point in the history
  • Loading branch information
Boldewyn committed Mar 20, 2024
1 parent fe375cc commit f145765
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions codepoints.net/lib/Unicode/CodepointInfo/OtherSites.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public function __invoke(Codepoint $codepoint) : Array {
if (isset($codepoint->properties['kDefinition']) && $codepoint->properties['kDefinition']) {
$other_sites[__('Unihan Database')] = 'https://www.unicode.org/cgi-bin/GetUnihanData.pl?codepoint='.rawurlencode($codepoint->chr());
$other_sites[__('Chinese Text Project')] = 'https://ctext.org/dictionary.pl?if=en&char='.rawurlencode($codepoint->chr());
$other_sites[__('zi.tools 字統网')] = 'https://zi.tools/zi/'.rawurlencode($codepoint->chr());
}
if ($codepoint->properties['Emoji'] || in_array($codepoint->id, [0x200D, 0xFE0F])) {
$other_sites[__('Emojipedia')] = 'https://emojipedia.org/'.rawurlencode($codepoint->chr());
Expand Down

0 comments on commit f145765

Please sign in to comment.