]> gitweb.factorcode.org Git - factor.git/blob - basis/unicode/script/script-docs.factor
ed255cc803b5778b2fb03f056505b947e0e817c5
[factor.git] / basis / unicode / script / script-docs.factor
1 ! Copyright (C) 2009 Daniel Ehrenberg
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: help.syntax help.markup strings ;
4 IN: unicode.script
5
6 ABOUT: "unicode.script"
7
8 ARTICLE: "unicode.script" "Unicode script properties"
9 "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"
10 { $subsections script-of } ;
11
12 HELP: script-of
13 { $values { "char" "a code point" } { "script" string } }
14 { $description "Finds the script of the given Unicode code point, represented as a string." } ;