Fixing unicode script help

db4
Daniel Ehrenberg 2009-03-19 01:06:25 -05:00
parent d72e395b2e
commit e951fb773a
1 changed files with 7 additions and 3 deletions

View File

@ -3,8 +3,12 @@
USING: help.syntax help.markup strings ;
IN: unicode.script
ABOUT: script-of
ABOUT: "unicode.script"
ARTICLE: "unicode.script" "Unicode script properties"
"The unicode standard gives every character a script. Note that this is different from a language, and that it is non-trivial to detect language from a string. To get the script of a character, use"
{ $subsection script-of } ;
HELP: script-of
{ $values { "char" "a code point" } { "script" "a symbol" } }
{ $description "Gets a symbol representing the code point of a given character. The word name of the symbol is the same as the one " } ;
{ $values { "char" "a code point" } { "script" string } }
{ $description "Finds the script of the given Unicode code point, represented as a string." } ;